diff options
author | Cornelia Huck <cohuck@redhat.com> | 2023-07-18 16:22:35 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2023-08-23 12:06:39 +0200 |
commit | 95f5c89ecaf0f5ecedc660831ace68f291a7113f (patch) | |
tree | ab7c2e22a4cebbeb5b0166c7a622a4b5d0de60ec /hw/s390x | |
parent | b0dd9a7d6dd15a6898e9c585b521e6bec79b25aa (diff) | |
download | qemu-95f5c89ecaf0f5ecedc660831ace68f291a7113f.zip qemu-95f5c89ecaf0f5ecedc660831ace68f291a7113f.tar.gz qemu-95f5c89ecaf0f5ecedc660831ace68f291a7113f.tar.bz2 |
hw: Add compat machines for 8.2
Add 8.2 machine types for arm/i440fx/m68k/q35/s390x/spapr.
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20230718142235.135319-1-cohuck@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Acked-by: Laurent Vivier <laurent@vivier.eu>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/s390x')
-rw-r--r-- | hw/s390x/s390-virtio-ccw.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c index 4516d73..c52a1fc 100644 --- a/hw/s390x/s390-virtio-ccw.c +++ b/hw/s390x/s390-virtio-ccw.c @@ -828,14 +828,26 @@ bool css_migration_enabled(void) } \ type_init(ccw_machine_register_##suffix) +static void ccw_machine_8_2_instance_options(MachineState *machine) +{ +} + +static void ccw_machine_8_2_class_options(MachineClass *mc) +{ +} +DEFINE_CCW_MACHINE(8_2, "8.2", true); + static void ccw_machine_8_1_instance_options(MachineState *machine) { + ccw_machine_8_2_instance_options(machine); } static void ccw_machine_8_1_class_options(MachineClass *mc) { + ccw_machine_8_2_class_options(mc); + compat_props_add(mc->compat_props, hw_compat_8_1, hw_compat_8_1_len); } -DEFINE_CCW_MACHINE(8_1, "8.1", true); +DEFINE_CCW_MACHINE(8_1, "8.1", false); static void ccw_machine_8_0_instance_options(MachineState *machine) { |