]> git.proxmox.com Git - mirror_qemu.git/commit
target/s390x/cpu_models: Rework the output of "-cpu help"
authorThomas Huth <thuth@redhat.com>
Sat, 20 Apr 2024 05:46:05 +0000 (07:46 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 29 Apr 2024 06:37:26 +0000 (09:37 +0300)
commit7febce361da200fa71e71e40316e4a6d2a5b40ab
tree28962d28348484ee3325efd2f11bca74b25bb4f0
parent49843214368eccbc46ad3946aae8cc81eaced98e
target/s390x/cpu_models: Rework the output of "-cpu help"

Printing an "s390x" 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!

While we're at it, use two spaces at the beginning of the lines for
the indentation of the entries, and add a "Available CPUs" in the
very first line, 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>
target/s390x/cpu_models.c