]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw: m68k: Add virt compat machine type for 7.0
authorLaurent Vivier <laurent@vivier.eu>
Sat, 18 Dec 2021 11:43:40 +0000 (12:43 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Sun, 9 Jan 2022 11:02:53 +0000 (12:02 +0100)
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>

hw/m68k/virt.c

index 0efa4a45c7f4547fb845e6d6984376a3fe80a396..78e926a554572a56eedbff473164321996182230 100644 (file)
@@ -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)
 {