From: Philippe Mathieu-Daudé Date: Thu, 16 Jan 2025 14:59:43 +0000 (+0100) Subject: hw/arm/virt: Remove deprecated virt-2.12 machine X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c51af4e8fb024e98a794e3fc919117d0538b02c9;p=thirdparty%2Fqemu.git hw/arm/virt: Remove deprecated virt-2.12 machine This machine has been supported for a period of more than 6 years. According to our versioned machine support policy (see commit ce80c4fa6ff "docs: document special exception for machine type deprecation & removal") it can now be removed. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Signed-off-by: Peter Maydell --- diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 3488bc4fb9..d047983c80 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -3588,14 +3588,3 @@ static void virt_machine_3_0_options(MachineClass *mc) compat_props_add(mc->compat_props, hw_compat_3_0, hw_compat_3_0_len); } DEFINE_VIRT_MACHINE(3, 0) - -static void virt_machine_2_12_options(MachineClass *mc) -{ - VirtMachineClass *vmc = VIRT_MACHINE_CLASS(OBJECT_CLASS(mc)); - - virt_machine_3_0_options(mc); - compat_props_add(mc->compat_props, hw_compat_2_12, hw_compat_2_12_len); - vmc->no_highmem_ecam = true; - mc->max_cpus = 255; -} -DEFINE_VIRT_MACHINE(2, 12)