hw/arm: Remove deprecated virt-3.0 up to virt-4.0 machines
cover hw/arm: Remove deprecated virt-3.0 up to virt-4.0 machines
The versioned 'virt' machines up to 4.0 been marked as deprecated two releases ago, and are older than 6 years, so according to our support policy we can remove them.
Based-on: <[email protected]>
"hw/arm: Remove virt-2.6 up to virt-2.12 machines"
Philippe Mathieu-Daudé (4):
hw/arm/virt: Update comment about Multiprocessor Affinity Register hw/arm/virt: Remove deprecated virt-3.0 machine hw/arm/virt: Remove deprecated virt-3.1 machine hw/arm/virt: Remove deprecated virt-4.0 machine
hw/arm/virt.c | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-)
Signature · 1 line
2.47.1
PATCH 1/4 hw/arm/virt: Update comment about Multiprocessor Affinity Register
Support on ARMv7 has been dropped in commit 82bf7ae84ce ("target/arm: Remove KVM support for 32-bit Arm hosts"). Update the comment in virt_cpu_mp_affinity() to avoid mentioning it.
--- hw/arm/virt.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
hw/arm/virt.c +1 -6
@@ -1767,12 +1767,7 @@ static uint64_t virt_cpu_mp_affinity(VirtMachineState *vms, int idx)VirtMachineClass *vmc =VIRT_MACHINE_GET_CLASS (vms);/* -* Adjust MPIDR like 64-bit KVM hosts, which incorporate the -* GIC's target-list limitations. 32-bit KVM hosts currently -* always create clusters of 4 CPUs, but that is expected to -* change when they gain support for gicv3. When KVM is enabled -* it will override the changes we make here, therefore our -* purposes are to make TCG consistent (with 64-bit KVM hosts) +* Adjust MPIDR to make TCG consistent (with 64-bit KVM hosts) * and to improve SGI efficiency. */ if (vms->gic_version ==VIRT_GIC_VERSION_2 ) {
Signature · 1 line
2.47.1
PATCH 2/4 hw/arm/virt: Remove deprecated virt-3.0 machine
In reply to Philippe Mathieu-Daudé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.
--- hw/arm/virt.c | 7 ------- 1 file changed, 7 deletions(-)
hw/arm/virt.c +0 -7
@@ -3577,10 +3577,3 @@ static void virt_machine_3_1_options(MachineClass *mc)compat_props_add (mc->compat_props, hw_compat_3_1, hw_compat_3_1_len); }DEFINE_VIRT_MACHINE (3 ,1 ) - -static void virt_machine_3_0_options (MachineClass *mc) -{ -virt_machine_3_1_options (mc); -compat_props_add (mc->compat_props, hw_compat_3_0, hw_compat_3_0_len); -} -DEFINE_VIRT_MACHINE (3 ,0 )
Signature · 1 line
2.47.1
PATCH 3/4 hw/arm/virt: Remove deprecated virt-3.1 machine
In reply to Philippe Mathieu-Daudé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.
--- hw/arm/virt.c | 7 ------- 1 file changed, 7 deletions(-)
hw/arm/virt.c +0 -7
@@ -3570,10 +3570,3 @@ static void virt_machine_4_0_options(MachineClass *mc)compat_props_add (mc->compat_props, hw_compat_4_0, hw_compat_4_0_len); }DEFINE_VIRT_MACHINE (4 ,0 ) - -static void virt_machine_3_1_options (MachineClass *mc) -{ -virt_machine_4_0_options (mc); -compat_props_add (mc->compat_props, hw_compat_3_1, hw_compat_3_1_len); -} -DEFINE_VIRT_MACHINE (3 ,1 )
Signature · 1 line
2.47.1
PATCH 4/4 hw/arm/virt: Remove deprecated virt-4.0 machine
In reply to Philippe Mathieu-Daudé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.
--- hw/arm/virt.c | 7 ------- 1 file changed, 7 deletions(-)
hw/arm/virt.c +0 -7
@@ -3563,10 +3563,3 @@ static void virt_machine_4_1_options(MachineClass *mc) mc->auto_enable_numa_with_memhp = false; }DEFINE_VIRT_MACHINE (4 ,1 ) - -static void virt_machine_4_0_options (MachineClass *mc) -{ -virt_machine_4_1_options (mc); -compat_props_add (mc->compat_props, hw_compat_4_0, hw_compat_4_0_len); -} -DEFINE_VIRT_MACHINE (4 ,0 )
Signature · 1 line
2.47.1
Quoted 5 lines · Philippe Mathieu-Daudé
Philippe Mathieu-Daudé (4):
hw/arm/virt: Update comment about Multiprocessor Affinity Register hw/arm/virt: Remove deprecated virt-3.0 machine hw/arm/virt: Remove deprecated virt-3.1 machine hw/arm/virt: Remove deprecated virt-4.0 machine
r~
Peter Maydell
AppliedQuoted 5 lines · Philippe Mathieu-Daudé
The versioned 'virt' machines up to 4.0 been marked as deprecated two releases ago, and are older than 6 years, so according to our support policy we can remove them.
Quoted 9 lines
Based-on: <[email protected]>
"hw/arm: Remove virt-2.6 up to virt-2.12 machines"Philippe Mathieu-Daudé (4):
hw/arm/virt: Update comment about Multiprocessor Affinity Register hw/arm/virt: Remove deprecated virt-3.0 machine hw/arm/virt: Remove deprecated virt-3.1 machine hw/arm/virt: Remove deprecated virt-4.0 machine
Applied to target-arm.next, thanks.
-- PMM