git.annexia.org
/
virt-what.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a821dc9
)
Recognize ppc64le (little endian) virtualization (RHBZ#1147876).
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 17 Oct 2017 13:47:09 +0000
(14:47 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 17 Oct 2017 13:47:09 +0000
(14:47 +0100)
Tested by Laurent Vivier, see:
https://bugzilla.redhat.com/show_bug.cgi?id=1147876#c35 & ff.
virt-what.in
patch
|
blob
|
history
diff --git
a/virt-what.in
b/virt-what.in
index
247348e
..
29b7b0d
100644
(file)
--- a/
virt-what.in
+++ b/
virt-what.in
@@
-339,7
+339,7
@@
fi
# example /proc/ppc64/lparcfg systemtype line
# system_type=IBM pSeries (emulated by qemu)
-if [ "$arch" = "ppc64" ]; then
+if [ "$arch" = "ppc64" ]
|| [ "$arch" = "ppc64le" ]
; then
if have_cpuinfo && grep -q 'platform.**pSeries' "${root}/proc/cpuinfo"; then
if grep -q 'model.*emulated by qemu' "${root}/proc/cpuinfo"; then
echo ibm_power-kvm