From: Philippe Mathieu-Daudé Date: Thu, 16 Jan 2025 14:59:35 +0000 (+0100) Subject: hw/arm/virt: Remove deprecated virt-2.7 machine X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=390becbf7faa8e7ecb10386ec21d52e1fcb16c96;p=thirdparty%2Fqemu.git hw/arm/virt: Remove deprecated virt-2.7 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 9d82cf78b0..a2a213717c 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -3649,16 +3649,3 @@ static void virt_machine_2_8_options(MachineClass *mc) vmc->claim_edge_triggered_timers = true; } DEFINE_VIRT_MACHINE(2, 8) - -static void virt_machine_2_7_options(MachineClass *mc) -{ - VirtMachineClass *vmc = VIRT_MACHINE_CLASS(OBJECT_CLASS(mc)); - - virt_machine_2_8_options(mc); - compat_props_add(mc->compat_props, hw_compat_2_7, hw_compat_2_7_len); - /* ITS was introduced with 2.8 */ - vmc->no_its = true; - /* Stick with 1K pages for migration compatibility */ - mc->minimum_page_bits = 0; -} -DEFINE_VIRT_MACHINE(2, 7)