diff options
author | Laurent Vivier <laurent@vivier.eu> | 2021-12-18 12:43:40 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2022-01-09 12:02:53 +0100 |
commit | 214bdf8e7199a34fe6f46ac7a83b61d8cc3f8ad0 (patch) | |
tree | adc25da3ac1c8311f05502f5c28ab85d179a5088 /hw/m68k | |
parent | df722e33d5da26ea8604500ca8f509245a0ea524 (diff) |
hw: m68k: Add virt compat machine type for 7.0
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20211218114340.1856757-1-laurent@vivier.eu>
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 0efa4a45c7..78e926a554 100644 --- a/hw/m68k/virt.c +++ b/hw/m68k/virt.c @@ -304,10 +304,17 @@ type_init(virt_machine_register_types) } \ type_init(machvirt_machine_##major##_##minor##_init); +static void virt_machine_7_0_options(MachineClass *mc) +{ +} +DEFINE_VIRT_MACHINE(7, 0, true) + static void virt_machine_6_2_options(MachineClass *mc) { + virt_machine_7_0_options(mc); + compat_props_add(mc->compat_props, hw_compat_6_2, hw_compat_6_2_len); } -DEFINE_VIRT_MACHINE(6, 2, true) +DEFINE_VIRT_MACHINE(6, 2, false) static void virt_machine_6_1_options(MachineClass *mc) { |