summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3a3ed10)
Thanks Nageswara R. Sastry
root=tests/ppc64-kvm
output="$(./virt-what --test-root=$root 2>&1)"
root=tests/ppc64-kvm
output="$(./virt-what --test-root=$root 2>&1)"
-expected="ibm_power-kvm"
+expected="qemu
+ibm_power-kvm"
if [ "$output" != "$expected" ]; then
echo "$0: test failed because output did not match expected"
if [ "$output" != "$expected" ]; then
echo "$0: test failed because output did not match expected"
# another CPUID leaf for non-accelerated qemu.
if grep -q 'QEMU' "${root}/proc/cpuinfo"; then
echo qemu
# 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