From 95f5c89ecaf0f5ecedc660831ace68f291a7113f Mon Sep 17 00:00:00 2001 From: Cornelia Huck Date: Tue, 18 Jul 2023 16:22:35 +0200 Subject: hw: Add compat machines for 8.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add 8.2 machine types for arm/i440fx/m68k/q35/s390x/spapr. Signed-off-by: Cornelia Huck Message-Id: <20230718142235.135319-1-cohuck@redhat.com> Reviewed-by: Thomas Huth Reviewed-by: Cédric Le Goater Acked-by: Laurent Vivier Acked-by: Michael S. Tsirkin Signed-off-by: Thomas Huth --- hw/arm/virt.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'hw/arm/virt.c') diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 7d9dbc2663..2a560271b5 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -3170,10 +3170,17 @@ static void machvirt_machine_init(void) } type_init(machvirt_machine_init); +static void virt_machine_8_2_options(MachineClass *mc) +{ +} +DEFINE_VIRT_MACHINE_AS_LATEST(8, 2) + static void virt_machine_8_1_options(MachineClass *mc) { + virt_machine_8_2_options(mc); + compat_props_add(mc->compat_props, hw_compat_8_1, hw_compat_8_1_len); } -DEFINE_VIRT_MACHINE_AS_LATEST(8, 1) +DEFINE_VIRT_MACHINE(8, 1) static void virt_machine_8_0_options(MachineClass *mc) { -- cgit 1.4.1