diff options
author | Thomas Huth <thuth@redhat.com> | 2024-03-07 18:43:32 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-03-18 17:11:19 +0100 |
commit | 47833f817cc597db124c690bd14600bb5d00e824 (patch) | |
tree | 3b028f459b1287314d0b7b640b2cede462970f00 | |
parent | ff7c98a9415f3d61d026002921dfc836ce232bcf (diff) | |
download | qemu-47833f817cc597db124c690bd14600bb5d00e824.zip qemu-47833f817cc597db124c690bd14600bb5d00e824.tar.gz qemu-47833f817cc597db124c690bd14600bb5d00e824.tar.bz2 |
target/sparc/cpu: Improve the CPU help text
Remove the unnecessary "Sparc" at the beginning of the line and
put the chip information into parentheses so that it is clearer
which part of the line have to be passed to "-cpu" to specify a
different CPU.
Message-ID: <20240307174334.130407-4-thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r-- | target/sparc/cpu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target/sparc/cpu.c b/target/sparc/cpu.c index dc9ead2..e820f50 100644 --- a/target/sparc/cpu.c +++ b/target/sparc/cpu.c @@ -574,9 +574,10 @@ void sparc_cpu_list(void) { unsigned int i; + qemu_printf("Available CPU types:\n"); for (i = 0; i < ARRAY_SIZE(sparc_defs); i++) { - qemu_printf("Sparc %16s IU " TARGET_FMT_lx - " FPU %08x MMU %08x NWINS %d ", + qemu_printf(" %-20s (IU " TARGET_FMT_lx + " FPU %08x MMU %08x NWINS %d) ", sparc_defs[i].name, sparc_defs[i].iu_version, sparc_defs[i].fpu_version, |