qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] target/ppc/cpu-models: Remove the "default" CPU alias


From: Cédric Le Goater
Subject: Re: [PATCH] target/ppc/cpu-models: Remove the "default" CPU alias
Date: Tue, 5 Jul 2022 17:48:44 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0

On 7/5/22 17:10, Thomas Huth wrote:
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>
---
  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 976be5e0d1..2667440f73 100644
--- a/target/ppc/cpu-models.c
+++ b/target/ppc/cpu-models.c
@@ -918,6 +918,6 @@ PowerPCCPUAlias ppc_cpu_aliases[] = {
  #endif
      { "ppc32", "604" },
      { "ppc", "604" },
-    { "default", "604" },
+
      { NULL, NULL }
  };

A default CPU introduced in 1994. Time to change !

Reviewed-by: Cédric Le Goater <clg@kaod.org>

Thanks,

C.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]