diff options
author | Cornelia Huck <cohuck@redhat.com> | 2022-03-16 15:55:21 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2022-04-20 09:36:24 +0200 |
commit | 0ca703662e3fd2f36a9bc36ffb256562ffb7b930 (patch) | |
tree | 7d3f1bfc4d56fb07846181e4f39a4e299265e771 /hw/m68k | |
parent | 4667619269a76712aa60903ba6ee80e8bfc910a2 (diff) |
hw: Add compat machines for 7.1
Add 7.1 machine types for arm/i440fx/m68k/q35/s390x/spapr.
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20220316145521.1224083-1-cohuck@redhat.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Acked-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Yanan Wang <wangyanan55@huawei.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/m68k')
-rw-r--r-- | hw/m68k/virt.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/hw/m68k/virt.c b/hw/m68k/virt.c index 7de8b5f833..e215aa3d42 100644 --- a/hw/m68k/virt.c +++ b/hw/m68k/virt.c @@ -315,10 +315,17 @@ type_init(virt_machine_register_types) } \ type_init(machvirt_machine_##major##_##minor##_init); +static void virt_machine_7_1_options(MachineClass *mc) +{ +} +DEFINE_VIRT_MACHINE(7, 1, true) + static void virt_machine_7_0_options(MachineClass *mc) { + virt_machine_7_1_options(mc); + compat_props_add(mc->compat_props, hw_compat_7_0, hw_compat_7_0_len); } -DEFINE_VIRT_MACHINE(7, 0, true) +DEFINE_VIRT_MACHINE(7, 0, false) static void virt_machine_6_2_options(MachineClass *mc) { |