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

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