diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c index 0e30c0f124f0d33139243a10450b67ff44991df8..e738b5b06ab5a71446d6b4e845b5d7ad76da4c9a 100644 --- a/hw/s390x/s390-virtio-ccw.c +++ b/hw/s390x/s390-virtio-ccw.c @@ -258,7 +258,7 @@ static void ccw_machine_2_4_class_init(ObjectClass *oc, void *data) } static const TypeInfo ccw_machine_2_4_info = { - .name = TYPE_S390_CCW_MACHINE "2.4", + .name = MACHINE_TYPE_NAME("s390-ccw-virtio-2.4"), .parent = TYPE_S390_CCW_MACHINE, .class_init = ccw_machine_2_4_class_init, }; @@ -274,7 +274,7 @@ static void ccw_machine_2_5_class_init(ObjectClass *oc, void *data) } static const TypeInfo ccw_machine_2_5_info = { - .name = TYPE_S390_CCW_MACHINE "2.5", + .name = MACHINE_TYPE_NAME("s390-ccw-virtio-2.5"), .parent = TYPE_S390_CCW_MACHINE, .class_init = ccw_machine_2_5_class_init, };