s390x: Register TYPE_S390_CCW_MACHINE properties as class properties
authorPierre Morel <pmorel@linux.ibm.com>
Thu, 3 Nov 2022 17:01:40 +0000 (18:01 +0100)
committerThomas Huth <thuth@redhat.com>
Sun, 6 Nov 2022 11:38:57 +0000 (12:38 +0100)
commit1fd396e32288bbf536483c74b68cb3ee86005a9f
treec79736effdad94a444c019f1107d7f4537c1faf8
parent4a8d21ba50fc8625c3bd51dab903872952f95718
s390x: Register TYPE_S390_CCW_MACHINE properties as class properties

Currently, when running 'qemu-system-s390x -M s390-ccw-virtio,help'
the s390x-specific properties are not listed anymore. This happens
because since commit d8fb7d0969 ("vl: switch -M parsing to keyval")
the properties have to be defined at the class level and not at the
instance level anymore. Fix it on s390x now, too, by moving the
registration of the properties to the class level"

Fixes: d8fb7d0969 ("vl: switch -M parsing to keyval")
Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
Message-Id: <20221103170150.20789-2-pmorel@linux.ibm.com>
[thuth: Add patch description]
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/s390x/s390-virtio-ccw.c