summary refs log tree commit diff stats
path: root/hw/m68k
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2025-08-05 11:56:16 +0200
committerThomas Huth <thuth@redhat.com>2025-08-27 07:07:53 +0200
commitd96519c6bd1e197f24a157ec761ff69cf54779d3 (patch)
tree243c57db34aa8e4a46823f6c9f8f416b65e3baa9 /hw/m68k
parent88f72048d2f5835a1b9eaba690c7861393aef283 (diff)
downloadfocaccia-qemu-d96519c6bd1e197f24a157ec761ff69cf54779d3.tar.gz
focaccia-qemu-d96519c6bd1e197f24a157ec761ff69cf54779d3.zip
hw: add compat machines for 10.2
Add 10.2 machine types for arm/i440fx/m68k/q35/s390x/spapr.

Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20250805095616.1168905-1-cohuck@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/m68k')
-rw-r--r--hw/m68k/virt.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/hw/m68k/virt.c b/hw/m68k/virt.c
index 875fd00ef8..98cfe43c73 100644
--- a/hw/m68k/virt.c
+++ b/hw/m68k/virt.c
@@ -367,10 +367,17 @@ type_init(virt_machine_register_types)
 #define DEFINE_VIRT_MACHINE(major, minor) \
     DEFINE_VIRT_MACHINE_IMPL(false, major, minor)
 
+static void virt_machine_10_2_options(MachineClass *mc)
+{
+}
+DEFINE_VIRT_MACHINE_AS_LATEST(10, 2)
+
 static void virt_machine_10_1_options(MachineClass *mc)
 {
+    virt_machine_10_2_options(mc);
+    compat_props_add(mc->compat_props, hw_compat_10_1, hw_compat_10_1_len);
 }
-DEFINE_VIRT_MACHINE_AS_LATEST(10, 1)
+DEFINE_VIRT_MACHINE(10, 1)
 
 static void virt_machine_10_0_options(MachineClass *mc)
 {