]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw/s390x/s390-virtio-ccw: Improve the machine description string
authorThomas Huth <thuth@redhat.com>
Fri, 6 May 2022 06:50:26 +0000 (08:50 +0200)
committerThomas Huth <thuth@redhat.com>
Fri, 3 Jun 2022 06:03:28 +0000 (08:03 +0200)
The machine name already contains the words "ccw" and "virtio", so
using "VirtIO-ccw" in the description likely does not really help
the average user to get an idea what this machine type is about.
Thus let's switch to "Virtual s390x machine" now, since "virtual
machine" should be a familiar term, and "s390x" signals that this
is about 64-bit guests (unlike S390 which could mean that it is
31-bit only).
Also expand "v" to "version", since this makes it easier to use
this macro also with non-numeric machine names in downstream.

Message-Id: <20220506065026.513590-1-thuth@redhat.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/s390x/s390-virtio-ccw.c

index 047cca0487e664c308d83288d236d6fe71ea0785..cc3097bfee8073bd2b08d58a50d9cb3258580aca 100644 (file)
@@ -768,7 +768,7 @@ bool css_migration_enabled(void)
     {                                                                         \
         MachineClass *mc = MACHINE_CLASS(oc);                                 \
         ccw_machine_##suffix##_class_options(mc);                             \
-        mc->desc = "VirtIO-ccw based S390 machine v" verstr;                  \
+        mc->desc = "Virtual s390x machine (version " verstr ")";              \
         if (latest) {                                                         \
             mc->alias = "s390-ccw-virtio";                                    \
             mc->is_default = true;                                            \