[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/3] target/i386/cpu: Remove "x86" prefix from the CPU list
From: |
Thomas Huth |
Subject: |
[PATCH 1/3] target/i386/cpu: Remove "x86" prefix from the CPU list |
Date: |
Sat, 20 Apr 2024 07:46:04 +0200 |
Printing an "x86" in front of each CPU name is not helpful at all:
It is confusing for the users since they don't know whether they
have to specify these letters for the "-cpu" parameter, too, and
it also takes some precious space in the dense output of the CPU
entries. Let's simply remove this now and use two spaces at the
beginning of the lines for the indentation of the entries instead,
like most other target architectures are doing it for their CPU help
output already.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
target/i386/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 33760a2ee1..fd46e264a2 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -5572,7 +5572,7 @@ static void x86_cpu_list_entry(gpointer data, gpointer
user_data)
desc = g_strdup_printf("%s (deprecated)", olddesc);
}
- qemu_printf("x86 %-20s %s\n", name, desc);
+ qemu_printf(" %-20s %s\n", name, desc);
}
/* list available CPU models and flags */
--
2.44.0
- [PATCH 0/3] Remove useless architecture prefix from the CPU list, Thomas Huth, 2024/04/20
- [PATCH 2/3] target/s390x/cpu_models: Rework the output of "-cpu help", Thomas Huth, 2024/04/20
- [PATCH 1/3] target/i386/cpu: Remove "x86" prefix from the CPU list,
Thomas Huth <=
- [PATCH 3/3] target/ppc/cpu_init: Remove "PowerPC" prefix from the CPU list, Thomas Huth, 2024/04/20
- Re: [PATCH 0/3] Remove useless architecture prefix from the CPU list, David Hildenbrand, 2024/04/20
- Re: [PATCH 0/3] Remove useless architecture prefix from the CPU list, Richard Henderson, 2024/04/20
- Re: [PATCH 0/3] Remove useless architecture prefix from the CPU list, Michael Tokarev, 2024/04/20
- Re: [PATCH 0/3] Remove useless architecture prefix from the CPU list, Daniel P . Berrangé, 2024/04/22
- Re: [PATCH 0/3] Remove useless architecture prefix from the CPU list, Mario Casquero, 2024/04/26