Blame SOURCES/kvm-target-ppc-cpu-models-Fix-ppc_cpu_aliases-list-for-R.patch

586cba
From 39642d0d37e2ef61ce7fde0bc284d37a365e4482 Mon Sep 17 00:00:00 2001
586cba
From: Murilo Opsfelder Araujo <muriloo@linux.ibm.com>
586cba
Date: Mon, 2 May 2022 17:59:11 -0300
586cba
Subject: [PATCH 2/2] target/ppc/cpu-models: Fix ppc_cpu_aliases list for RHEL
586cba
MIME-Version: 1.0
586cba
Content-Type: text/plain; charset=UTF-8
586cba
Content-Transfer-Encoding: 8bit
586cba
586cba
RH-Author: Murilo Opsfelder Araújo <muriloo@linux.ibm.com>
586cba
RH-MergeRequest: 81: target/ppc/cpu-models: remove extraneous "#endif"
586cba
RH-Commit: [1/1] 5fff003ad3deb84c6a8e69ab90552a31edb3b058 (mopsfelder/centos-stream-src-qemu-kvm)
586cba
RH-Bugzilla: 2081022
586cba
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
586cba
RH-Acked-by: Thomas Huth <thuth@redhat.com>
586cba
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
586cba
586cba
The commit b9d28ecdedaf ("Enable/disable devices for RHEL") removed the
586cba
"#if 0" from the beginning of the ppc_cpu_aliases list, which broke the
586cba
build on ppc64le:
586cba
586cba
    ../target/ppc/cpu-models.c:904:2: error: #endif without #if
586cba
    #endif
586cba
     ^
586cba
    1 error generated.
586cba
586cba
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2081022
586cba
586cba
Fixes: b9d28ecdedaf (Enable/disable devices for RHEL)
586cba
Signed-off-by: Murilo Opsfelder Araujo <muriloo@linux.ibm.com>
586cba
---
586cba
 target/ppc/cpu-models.c | 1 +
586cba
 1 file changed, 1 insertion(+)
586cba
586cba
diff --git a/target/ppc/cpu-models.c b/target/ppc/cpu-models.c
586cba
index dd78883410..528467eac1 100644
586cba
--- a/target/ppc/cpu-models.c
586cba
+++ b/target/ppc/cpu-models.c
586cba
@@ -746,6 +746,7 @@
586cba
 /* PowerPC CPU aliases                                                     */
586cba
 
586cba
 PowerPCCPUAlias ppc_cpu_aliases[] = {
586cba
+#if 0  /* Disabled for Red Hat Enterprise Linux */
586cba
     { "405", "405d4" },
586cba
     { "405cr", "405crc" },
586cba
     { "405gp", "405gpd" },
586cba
-- 
586cba
2.35.1
586cba