41 lines
1.3 KiB
Diff
41 lines
1.3 KiB
Diff
|
|
From 73ece819848b2ecc110ec676413d5a86ffc0f8fc Mon Sep 17 00:00:00 2001
|
||
|
|
From: Wanghe Xiao <xiaowanghe_yewu@cmss.chinamobile.com>
|
||
|
|
Date: Sat, 25 Nov 2023 02:26:10 -0800
|
||
|
|
Subject: [PATCH] target/ppc/cpu-models: Remove the "default" CPU alias
|
||
|
|
MIME-Version: 1.0
|
||
|
|
Content-Type: text/plain; charset=UTF-8
|
||
|
|
Content-Transfer-Encoding: 8bit
|
||
|
|
|
||
|
|
cherry picked from commit 7886605961d0a9c40ada0c28dee5fa0b42a30836
|
||
|
|
|
||
|
|
QEMU emulates a *lot* of PowerPC-based machines - having a CPU
|
||
|
|
that is named "default" and cannot be used with most of those
|
||
|
|
machines sounds just wrong. Thus let's remove this old and confusing
|
||
|
|
alias now.
|
||
|
|
|
||
|
|
Signed-off-by: Thomas Huth <thuth@redhat.com>
|
||
|
|
Reviewed-by: Greg Kurz <groug@kaod.org>
|
||
|
|
Reviewed-by: Cédric Le Goater <clg@kaod.org>
|
||
|
|
Message-Id: <20220705151030.662140-1-thuth@redhat.com>
|
||
|
|
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
|
||
|
|
Signed-off-by: Wanghe Xiao <xiaowanghe_yewu@cmss.chinamobile.com>
|
||
|
|
---
|
||
|
|
target/ppc/cpu-models.c | 2 +-
|
||
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/target/ppc/cpu-models.c b/target/ppc/cpu-models.c
|
||
|
|
index 4baa111713..02efc95723 100644
|
||
|
|
--- a/target/ppc/cpu-models.c
|
||
|
|
+++ b/target/ppc/cpu-models.c
|
||
|
|
@@ -963,6 +963,6 @@ PowerPCCPUAlias ppc_cpu_aliases[] = {
|
||
|
|
#endif
|
||
|
|
{ "ppc32", "604" },
|
||
|
|
{ "ppc", "604" },
|
||
|
|
- { "default", "604" },
|
||
|
|
+
|
||
|
|
{ NULL, NULL }
|
||
|
|
};
|
||
|
|
--
|
||
|
|
2.27.0
|
||
|
|
|