git.annexia.org
/
virt-what.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Print 'qemu' fact when running in qemu environment on POWER 9 (RHBZ#1455676).
[virt-what.git]
/
virt-what.in
diff --git
a/virt-what.in
b/virt-what.in
index
1a373ed
..
aee10cf
100644
(file)
--- a/
virt-what.in
+++ b/
virt-what.in
@@
-295,6
+295,9
@@
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