diff mbox series

[PATCH-for-10.1,v2,09/13] hw/arm/virt: Remove deprecated virt-2.10 machine

Message ID 20250116145944.38028-10-philmd@linaro.org (mailing list archive)
State New
Headers show
Series hw/arm: Remove virt-2.6 up to virt-2.12 machines | expand

Commit Message

Philippe Mathieu-Daudé Jan. 16, 2025, 2:59 p.m. UTC
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é <philmd@linaro.org>
---
 hw/arm/virt.c | 9 ---------
 1 file changed, 9 deletions(-)

Comments

Richard Henderson Jan. 16, 2025, 5:59 p.m. UTC | #1
On 1/16/25 06:59, Philippe Mathieu-Daudé wrote:
> 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é <philmd@linaro.org>
> ---
>   hw/arm/virt.c | 9 ---------
>   1 file changed, 9 deletions(-)
> 
> diff --git a/hw/arm/virt.c b/hw/arm/virt.c
> index 14fc4b100a3..54c7b92b6d9 100644
> --- a/hw/arm/virt.c
> +++ b/hw/arm/virt.c
> @@ -3551,12 +3551,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)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~
Thomas Huth Jan. 16, 2025, 7:41 p.m. UTC | #2
On 16/01/2025 15.59, Philippe Mathieu-Daudé wrote:
> 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é <philmd@linaro.org>
> ---
>   hw/arm/virt.c | 9 ---------
>   1 file changed, 9 deletions(-)

Reviewed-by: Thomas Huth <thuth@redhat.com>
diff mbox series

Patch

diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 14fc4b100a3..54c7b92b6d9 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -3551,12 +3551,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)