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

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