]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/sparc/cpu: Improve the CPU help text
authorThomas Huth <thuth@redhat.com>
Thu, 7 Mar 2024 17:43:32 +0000 (18:43 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 18 Mar 2024 16:11:19 +0000 (17:11 +0100)
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>
target/sparc/cpu.c

index dc9ead21fcda9e0453bb1bd6a6278959c44b3c86..e820f50acf6f8863636eb6a681f1f0364651b45b 100644 (file)
@@ -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,