Revert "Print 'qemu' fact when running in qemu environment on POWER 9 (RHBZ#1455676)."
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 29 Jun 2017 10:22:21 +0000 (11:22 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 29 Jun 2017 10:22:21 +0000 (11:22 +0100)
This reverts commit 15314ad0a6e3764f070b60f6df02a2f881b09fce.

tests/test-ppc64-kvm.sh
virt-what.in

index 3a90429..c691c96 100755 (executable)
@@ -18,8 +18,7 @@
 root=tests/ppc64-kvm
 
 output="$(./virt-what --test-root=$root 2>&1)"
-expected="qemu
-ibm_power-kvm"
+expected="ibm_power-kvm"
 
 if [ "$output" != "$expected" ]; then
     echo "$0: test failed because output did not match expected"
index aee10cf..1a373ed 100644 (file)
@@ -295,9 +295,6 @@ if ! "$skip_qemu_kvm"; then
         # another CPUID leaf for non-accelerated qemu.
         if grep -q 'QEMU' "${root}/proc/cpuinfo"; then
             echo qemu
-        # https://bugzilla.redhat.com/show_bug.cgi?id=1455676#c6
-        elif grep -q 'emulated by qemu' "${root}/proc/cpuinfo"; then
-            echo qemu
         fi
     fi
 fi