Blame SOURCES/0004-Recognize-ppc64le-little-endian-virtualization-RHBZ-.patch

90b589
From 7db94c8fe63f2c7ec3ac27cc5ff54ec1e1686aeb Mon Sep 17 00:00:00 2001
90b589
From: "Richard W.M. Jones" <rjones@redhat.com>
90b589
Date: Tue, 17 Oct 2017 14:47:09 +0100
c18f13
Subject: [PATCH 04/22] Recognize ppc64le (little endian) virtualization
90b589
 (RHBZ#1147876).
90b589
90b589
Tested by Laurent Vivier, see:
90b589
https://bugzilla.redhat.com/show_bug.cgi?id=1147876#c35 & ff.
90b589
---
90b589
 virt-what.in | 2 +-
90b589
 1 file changed, 1 insertion(+), 1 deletion(-)
90b589
90b589
diff --git a/virt-what.in b/virt-what.in
90b589
index 247348e..29b7b0d 100644
90b589
--- a/virt-what.in
90b589
+++ b/virt-what.in
90b589
@@ -339,7 +339,7 @@ fi
90b589
 # example /proc/ppc64/lparcfg systemtype line
90b589
 # system_type=IBM pSeries (emulated by qemu)
90b589
 
90b589
-if [ "$arch" = "ppc64" ]; then
90b589
+if [ "$arch" = "ppc64" ] || [ "$arch" = "ppc64le" ] ; then
90b589
     if have_cpuinfo && grep -q 'platform.**pSeries' "${root}/proc/cpuinfo"; then
90b589
         if grep -q 'model.*emulated by qemu' "${root}/proc/cpuinfo"; then
90b589
                 echo ibm_power-kvm
90b589
-- 
c18f13
2.32.0
90b589