qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hw/m68k: Remove deprecated virt-6.0 to virt-7.2 machines
@ 2025-10-17 12:41 Philippe Mathieu-Daudé
  2025-10-17 13:16 ` Daniel P. Berrangé
  0 siblings, 1 reply; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-10-17 12:41 UTC (permalink / raw)
  To: qemu-devel; +Cc: Laurent Vivier, Philippe Mathieu-Daudé

The following machines:

  - virt-6.0
  - virt-6.1
  - virt-6.2
  - virt-7.0
  - virt-7.1
  - virt-7.2

have 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"), they can now be removed.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 hw/m68k/virt.c | 42 ------------------------------------------
 1 file changed, 42 deletions(-)

diff --git a/hw/m68k/virt.c b/hw/m68k/virt.c
index 98cfe43c73a..1874499f43e 100644
--- a/hw/m68k/virt.c
+++ b/hw/m68k/virt.c
@@ -427,45 +427,3 @@ static void virt_machine_8_0_options(MachineClass *mc)
     compat_props_add(mc->compat_props, hw_compat_8_0, hw_compat_8_0_len);
 }
 DEFINE_VIRT_MACHINE(8, 0)
-
-static void virt_machine_7_2_options(MachineClass *mc)
-{
-    virt_machine_8_0_options(mc);
-    compat_props_add(mc->compat_props, hw_compat_7_2, hw_compat_7_2_len);
-}
-DEFINE_VIRT_MACHINE(7, 2)
-
-static void virt_machine_7_1_options(MachineClass *mc)
-{
-    virt_machine_7_2_options(mc);
-    compat_props_add(mc->compat_props, hw_compat_7_1, hw_compat_7_1_len);
-}
-DEFINE_VIRT_MACHINE(7, 1)
-
-static void virt_machine_7_0_options(MachineClass *mc)
-{
-    virt_machine_7_1_options(mc);
-    compat_props_add(mc->compat_props, hw_compat_7_0, hw_compat_7_0_len);
-}
-DEFINE_VIRT_MACHINE(7, 0)
-
-static void virt_machine_6_2_options(MachineClass *mc)
-{
-    virt_machine_7_0_options(mc);
-    compat_props_add(mc->compat_props, hw_compat_6_2, hw_compat_6_2_len);
-}
-DEFINE_VIRT_MACHINE(6, 2)
-
-static void virt_machine_6_1_options(MachineClass *mc)
-{
-    virt_machine_6_2_options(mc);
-    compat_props_add(mc->compat_props, hw_compat_6_1, hw_compat_6_1_len);
-}
-DEFINE_VIRT_MACHINE(6, 1)
-
-static void virt_machine_6_0_options(MachineClass *mc)
-{
-    virt_machine_6_1_options(mc);
-    compat_props_add(mc->compat_props, hw_compat_6_0, hw_compat_6_0_len);
-}
-DEFINE_VIRT_MACHINE(6, 0)
-- 
2.51.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] hw/m68k: Remove deprecated virt-6.0 to virt-7.2 machines
  2025-10-17 12:41 [PATCH] hw/m68k: Remove deprecated virt-6.0 to virt-7.2 machines Philippe Mathieu-Daudé
@ 2025-10-17 13:16 ` Daniel P. Berrangé
  2025-10-17 13:38   ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel P. Berrangé @ 2025-10-17 13:16 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé; +Cc: qemu-devel, Laurent Vivier

On Fri, Oct 17, 2025 at 02:41:04PM +0200, Philippe Mathieu-Daudé wrote:
> The following machines:
> 
>   - virt-6.0
>   - virt-6.1
>   - virt-6.2
>   - virt-7.0
>   - virt-7.1
>   - virt-7.2
> 
> have 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"), they can now be removed.

Err ythat calculation is wrong.  The 6.0 release dates from 2021,
so the virt-6.0 machine has not even existed for 5 years yet.

The versioned machine type macros automatically mark machines as
deprecated on the required timescale, and will automatically hide
deprecated machines when they hit the removal point.

IOW, a versioned machine can be removed if-and-only-if the output
from '$QEMU -machine help' no longer includes the machine version.
None of these can be removed yet.

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] hw/m68k: Remove deprecated virt-6.0 to virt-7.2 machines
  2025-10-17 13:16 ` Daniel P. Berrangé
@ 2025-10-17 13:38   ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-10-17 13:38 UTC (permalink / raw)
  To: Daniel P. Berrangé; +Cc: qemu-devel, Laurent Vivier

On 17/10/25 15:16, Daniel P. Berrangé wrote:
> On Fri, Oct 17, 2025 at 02:41:04PM +0200, Philippe Mathieu-Daudé wrote:
>> The following machines:
>>
>>    - virt-6.0
>>    - virt-6.1
>>    - virt-6.2
>>    - virt-7.0
>>    - virt-7.1
>>    - virt-7.2
>>
>> have 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"), they can now be removed.
> 
> Err ythat calculation is wrong.  The 6.0 release dates from 2021,
> so the virt-6.0 machine has not even existed for 5 years yet.
> 
> The versioned machine type macros automatically mark machines as
> deprecated on the required timescale, and will automatically hide
> deprecated machines when they hit the removal point.
> 
> IOW, a versioned machine can be removed if-and-only-if the output
> from '$QEMU -machine help' no longer includes the machine version.
> None of these can be removed yet.

Right, OK.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-17 13:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-17 12:41 [PATCH] hw/m68k: Remove deprecated virt-6.0 to virt-7.2 machines Philippe Mathieu-Daudé
2025-10-17 13:16 ` Daniel P. Berrangé
2025-10-17 13:38   ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).