X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=inline;f=virt-what.in;h=776bfdee5103dec8018b79c7b895224d180a3149;hb=6fe2ebaec32d8f554749807bc21983506647a9d5;hp=355e43845eb1c2bc168573227bd64434118f0bf3;hpb=6dbd668e3523d85aeedf16c6cdcc7648508a035e;p=virt-what.git diff --git a/virt-what.in b/virt-what.in index 355e438..776bfde 100644 --- a/virt-what.in +++ b/virt-what.in @@ -262,9 +262,12 @@ fi if ! "$skip_qemu_kvm"; then if [ "$cpuid" = "KVMKVMKVM" ]; then echo kvm + elif echo "$dmi" | grep -q 'Product Name: KVM'; then + echo kvm + skip_lkvm=true elif echo "$dmi" | grep -q 'Manufacturer: QEMU'; then - # We don't have enough information to determine if we're - # using KVM acceleration or not. + # The test for KVM above failed, so now we know we're + # not using KVM acceleration. echo qemu skip_lkvm=true elif [ "$arch" = "arm" ] || [ "$arch" = "aarch64" ]; then