qemu/kvm: dmidecode: look for 'KVM'
authorAndrew Jones <drjones@redhat.com>
Tue, 27 Oct 2015 17:16:04 +0000 (18:16 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 20 Jun 2016 12:30:41 +0000 (08:30 -0400)
commit8528efafcad59f0fde7e15860f19061c3af810fa
tree26f9df3a44dd6a2c89f0713d00ccd975a90da418
parent8bc06c4843dc0b824e211b6f9f6f358336988b64
qemu/kvm: dmidecode: look for 'KVM'

We can check the product name for 'KVM' to determine if we're
accelerated. This only works for arm/aarch64 targets boot with
AAVMF and on RHEL x86 targets (which already have KVM in the cpuid
leaf), but it doesn't hurt to try on all.
Makefile.am
tests/qemu-smbios-kvm/proc/cpuinfo [new file with mode: 0644]
tests/qemu-smbios-kvm/proc/self/status [new file with mode: 0644]
tests/qemu-smbios-kvm/sbin/dmidecode [new file with mode: 0755]
tests/qemu-smbios-kvm/sbin/uname [new file with mode: 0755]
tests/qemu-smbios-kvm/sbin/virt-what-cpuid-helper [new file with mode: 0755]
tests/test-qemu-smbios-kvm.sh [new file with mode: 0755]
virt-what.in