From: Philippe Mathieu-Daudé Date: Thu, 16 Jan 2025 14:59:40 +0000 (+0100) Subject: hw/arm/virt: Remove deprecated virt-2.10 machine X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=21119f57cbd161899542f00cf6bb5087dea3c4e6;p=thirdparty%2Fqemu.git hw/arm/virt: Remove deprecated virt-2.10 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 1c84297fab..6e10b2b085 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -3611,12 +3611,3 @@ static void virt_machine_2_11_options(MachineClass *mc) vmc->smbios_old_sys_ver = true; } DEFINE_VIRT_MACHINE(2, 11) - -static void virt_machine_2_10_options(MachineClass *mc) -{ - virt_machine_2_11_options(mc); - compat_props_add(mc->compat_props, hw_compat_2_10, hw_compat_2_10_len); - /* before 2.11 we never faulted accesses to bad addresses */ - mc->ignore_memory_transaction_failures = true; -} -DEFINE_VIRT_MACHINE(2, 10)