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