diff options
author | Thomas Huth <thuth@redhat.com> | 2024-04-20 07:46:04 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-04-29 09:37:26 +0300 |
commit | 49843214368eccbc46ad3946aae8cc81eaced98e (patch) | |
tree | 979e64890e6a0d96f6c2bf0866d89853ab8d95d0 /target/i386/cpu.c | |
parent | fd87be1dada5672f877e03c2ca8504458292c479 (diff) | |
download | qemu-49843214368eccbc46ad3946aae8cc81eaced98e.zip qemu-49843214368eccbc46ad3946aae8cc81eaced98e.tar.gz qemu-49843214368eccbc46ad3946aae8cc81eaced98e.tar.bz2 |
target/i386/cpu: Remove "x86" prefix from the CPU list
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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'target/i386/cpu.c')
-rw-r--r-- | target/i386/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/cpu.c b/target/i386/cpu.c index fa1ea37..aa3b2d8 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -5708,7 +5708,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 */ |