diff options
| author | Cornelia Huck <cohuck@redhat.com> | 2025-04-14 11:45:43 +0200 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2025-04-23 07:51:25 +0200 |
| commit | 4a00039c4666fb3f5b24dca8f3212fe049e0f92e (patch) | |
| tree | f1b5be2ff034f13bdb26f66aaa39c0be212dac55 /hw/i386/pc_piix.c | |
| parent | 76720b6e85b5a6c61044e2110195068c1106fe4e (diff) | |
| download | focaccia-qemu-4a00039c4666fb3f5b24dca8f3212fe049e0f92e.tar.gz focaccia-qemu-4a00039c4666fb3f5b24dca8f3212fe049e0f92e.zip | |
hw: add compat machines for 10.1
Add 10.1 machine types for arm/i440fx/m68k/q35/s390x/spapr. Signed-off-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <20250414094543.221241-1-cohuck@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/i386/pc_piix.c')
| -rw-r--r-- | hw/i386/pc_piix.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index 6c91e2d292..dbb59df64f 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -479,12 +479,21 @@ static void pc_i440fx_machine_options(MachineClass *m) "Use a different south bridge than PIIX3"); } -static void pc_i440fx_machine_10_0_options(MachineClass *m) +static void pc_i440fx_machine_10_1_options(MachineClass *m) { pc_i440fx_machine_options(m); } -DEFINE_I440FX_MACHINE_AS_LATEST(10, 0); +DEFINE_I440FX_MACHINE_AS_LATEST(10, 1); + +static void pc_i440fx_machine_10_0_options(MachineClass *m) +{ + pc_i440fx_machine_10_1_options(m); + compat_props_add(m->compat_props, hw_compat_10_0, hw_compat_10_0_len); + compat_props_add(m->compat_props, pc_compat_10_0, pc_compat_10_0_len); +} + +DEFINE_I440FX_MACHINE(10, 0); static void pc_i440fx_machine_9_2_options(MachineClass *m) { |