diff options
| author | Cornelia Huck <cohuck@redhat.com> | 2025-08-05 11:56:16 +0200 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2025-08-27 07:07:53 +0200 |
| commit | d96519c6bd1e197f24a157ec761ff69cf54779d3 (patch) | |
| tree | 243c57db34aa8e4a46823f6c9f8f416b65e3baa9 /hw/arm/virt.c | |
| parent | 88f72048d2f5835a1b9eaba690c7861393aef283 (diff) | |
| download | focaccia-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/arm/virt.c')
| -rw-r--r-- | hw/arm/virt.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/hw/arm/virt.c b/hw/arm/virt.c index ef6be3660f..9326cfc895 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -3455,10 +3455,17 @@ static void machvirt_machine_init(void) } type_init(machvirt_machine_init); +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) { |