diff options
author | Andrew Jones <drjones@redhat.com> | 2015-11-03 13:31:03 -0600 |
---|---|---|
committer | Andrew Jones <drjones@redhat.com> | 2015-11-04 11:19:40 -0600 |
commit | 3728dcde4542b7b2792d9ef0baeb742d82983b03 (patch) | |
tree | 8892954dcf94549c21be7ef63ff3fa308673a8c8 /src/test/test-udev.c | |
parent | 2ef8a4c4399dcb7b6fcaecd41f27377b584e9a4b (diff) |
detect-virt: dmi: look for KVM
Some guests (ARM, AArch64, x86-RHEL) have 'KVM' in the product name.
Look for that first in order to more precisely report "kvm" when
detecting a QEMU/KVM guest. Without this patch we report "qemu",
even if KVM acceleration is in use on ARM/AArch64 guests.
I've only tested a backported version of this and the previous
patch on an AArch64 guest (which worked). Of course it would be
nice to get regression testing on all guest types that depend on
dmi done.
Diffstat (limited to 'src/test/test-udev.c')
0 files changed, 0 insertions, 0 deletions