diff options
| author | Cornelia Huck <cohuck@redhat.com> | 2024-11-26 11:30:05 +0100 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2024-12-11 09:18:38 +0100 |
| commit | 0a7c438a42f7a178504347456b9e50e3d2c50478 (patch) | |
| tree | 9dac24efef9dbcdf4845781302edf961a12a6a32 /hw/ppc/spapr.c | |
| parent | 7956b0606879ddeddf04bcf8440aabcfe1393b9c (diff) | |
| download | focaccia-qemu-0a7c438a42f7a178504347456b9e50e3d2c50478.tar.gz focaccia-qemu-0a7c438a42f7a178504347456b9e50e3d2c50478.zip | |
hw: add compat machines for 10.0
Add 10.0 machine types for arm/i440fx/m68k/q35/s390x/spapr. Signed-off-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-ID: <20241126103005.3794748-3-cohuck@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/ppc/spapr.c')
| -rw-r--r-- | hw/ppc/spapr.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index 0d4efaa0c0..7251eea521 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -4733,14 +4733,25 @@ static void spapr_machine_latest_class_options(MachineClass *mc) DEFINE_SPAPR_MACHINE_IMPL(false, major, minor) /* + * pseries-10.0 + */ +static void spapr_machine_10_0_class_options(MachineClass *mc) +{ + /* Defaults for the latest behaviour inherited from the base class */ +} + +DEFINE_SPAPR_MACHINE_AS_LATEST(10, 0); + +/* * pseries-9.2 */ static void spapr_machine_9_2_class_options(MachineClass *mc) { - /* Defaults for the latest behaviour inherited from the base class */ + spapr_machine_10_0_class_options(mc); + compat_props_add(mc->compat_props, hw_compat_9_2, hw_compat_9_2_len); } -DEFINE_SPAPR_MACHINE_AS_LATEST(9, 2); +DEFINE_SPAPR_MACHINE(9, 2); /* * pseries-9.1 |