[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 09/14] hw: temporarily disable deletion of versioned machine
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH 09/14] hw: temporarily disable deletion of versioned machine types |
Date: |
Thu, 2 May 2024 12:13:05 +0100 |
User-agent: |
Mutt/2.2.12 (2023-09-09) |
On Thu, May 02, 2024 at 01:05:20PM +0200, Thomas Huth wrote:
> On 01/05/2024 20.27, Daniel P. Berrangé wrote:
> > The new deprecation and deletion policy for versioned machine types is
> > being introduced in QEMU 9.1.0.
> >
> > Under the new policy a number of old machine types (any prior to 2.12)
> > would be liable for immediate deletion which would be a violation of our
> > historical deprecation and removal policy
> >
> > Thus automatic deletions (by skipping QOM registration) are temporarily
> > gated on existance of the env variable "QEMU_DELETE_MACHINES" / QEMU
> > version number >= 10.1.0. This allows opt-in testing of the automatic
> > deletion logic, while activating it fully in QEMU >= 10.1.0.
>
> If we include your patches now, the old machine types will be marked as
> deprecated in QEMU 9.1 and 9.2, so it should be OK to remove them in 10.0
> already, shouldn't it?
Yes, the deprecation marking still happens on the correct documented
schedule. We're merely postponing the removal to be nice.
IOW, when 10.0 arrives, we'll be able to delete everything upto and
including version 4.0, so at that point 4.1 will be the oldest
machine present.
Without this patch, we would be removing everything upto and including
3.1 straight away with no prior warning. With this patch everything
is still present, under the old deprecation 2 release policy.
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 :|
- Re: [PATCH 04/14] hw/ppc: convert 'spapr' machine definitions to use new macros, (continued)
- [PATCH 06/14] hw/i386: convert 'i440fx' machine definitions to use new macros, Daniel P . Berrangé, 2024/05/01
- [PATCH 05/14] hw/m68k: convert 'virt' machine definitions to use new macros, Daniel P . Berrangé, 2024/05/01
- [PATCH 07/14] hw/i386: convert 'q35' machine definitions to use new macros, Daniel P . Berrangé, 2024/05/01
- [PATCH 08/14] include/hw: add macros for deprecation & removal of versioned machines, Daniel P . Berrangé, 2024/05/01
- [PATCH 09/14] hw: temporarily disable deletion of versioned machine types, Daniel P . Berrangé, 2024/05/01
- [PATCH 10/14] hw: set deprecation info for all versioned machine types, Daniel P . Berrangé, 2024/05/01
- [PATCH 12/14] hw/ppc: remove obsolete manual deprecation reason string of spapr machines, Daniel P . Berrangé, 2024/05/01
- [PATCH 11/14] hw: skip registration of outdated versioned machine types, Daniel P . Berrangé, 2024/05/01
- [PATCH 13/14] hw/i386: remove obsolete manual deprecation reason string of i440fx machines, Daniel P . Berrangé, 2024/05/01
- [PATCH 14/14] docs: document special exception for machine type deprecation & removal, Daniel P . Berrangé, 2024/05/01