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>
Tue, 3 Nov 2015 09:55:45 +0000 (09:55 +0000)
commit6fe2ebaec32d8f554749807bc21983506647a9d5
treeec7388b06b3edf9c32465d5a52b861ee18c9743a
parent6dbd668e3523d85aeedf16c6cdcc7648508a035e
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