Display kvm/qemu fact for Nutanix AHV
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 22 Jul 2021 07:58:16 +0000 (08:58 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 22 Jul 2021 07:59:17 +0000 (08:59 +0100)
Since these are based on KVM we should display those facts too.

Thanks: Paolo Bonzini

tests/nutanix-ahv/test.sh
virt-what.in

index a998dc0..d5d6af2 100755 (executable)
@@ -17,7 +17,8 @@
 
 output="$(PATH=../..:$PATH virt-what --test-root=. 2>&1)"
 expected="nutanix_ahv
-redhat"
+redhat
+kvm"
 
 if [ "$output" != "$expected" ]; then
     echo "$0: test failed because output did not match expected"
index 850760e..d56c84f 100644 (file)
@@ -232,11 +232,8 @@ if echo "$dmi" | grep -q 'Vendor: Parallels'; then
 fi
 
 # Check for Nutanix AHV.
-# This is sufficiently different from KVM and has Viridian extensions,
-# so skip the KVM test.
 if echo "$dmi" | grep -q 'Manufacturer: Nutanix'; then
     echo nutanix_ahv
-    skip_qemu_kvm=true
 fi
 
 # Check for oVirt/RHEV.