Enable building for ppc64le

Don't remove slof.bin for ppc64le
This commit is contained in:
Eduard Abdullin 2025-04-09 16:52:35 +03:00 committed by eabdullin
parent cbe9dfa20d
commit f0504b35c2
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,26 @@
From fbf01dcb549b3b35bfb1de1a718d0887c041aa3f Mon Sep 17 00:00:00 2001
From: eabdullin <eabdullin@almalinux.org>
Date: Wed, 9 Apr 2025 16:43:18 +0300
Subject: [PATCH] Bring back missing line in target/ppc/cpu-models.c
---
target/ppc/cpu-models.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/target/ppc/cpu-models.c b/target/ppc/cpu-models.c
index f77ebfcc8..013c09468 100644
--- a/target/ppc/cpu-models.c
+++ b/target/ppc/cpu-models.c
@@ -744,7 +744,8 @@
/* PowerPC CPU aliases */
PowerPCCPUAlias ppc_cpu_aliases[] = {
- { "405", "405d4" },
+#if 0 /* Disabled for Red Hat Enterprise Linux */
+{ "405", "405d4" },
{ "405cr", "405crc" },
{ "405gp", "405gpd" },
{ "405gpe", "405crc" },
--
2.39.5 (Apple Git-154)

View File

@ -468,6 +468,9 @@ Patch147: kvm-iotests-Add-qsd-migrate-case.patch
# For RHEL-78397 - backport fix for double migration of a paused VM (disk activation rewrite)
Patch148: kvm-iotests-Add-NBD-based-tests-for-inactive-nodes.patch
# AlmaLinux Patch
Patch149: 0001-Bring-back-missing-line-in-target-ppc-cpu-models.patch
%if %{have_clang}
BuildRequires: clang
%if %{have_safe_stack}