From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: "Philippe Mathieu-Daudé" <philmd@linaro.org>,
qemu-devel@nongnu.org, "Peter Maydell" <peter.maydell@linaro.org>,
"Igor Mammedov" <imammedo@redhat.com>,
"Andrew Jones" <ajones@ventanamicro.com>,
"Shannon Zhao" <shannon.zhaosl@gmail.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Ani Sinha" <anisinha@redhat.com>,
qemu-arm@nongnu.org
Subject: Re: [PATCH-for-10.1 v2 00/13] hw/arm: Remove virt-2.6 up to virt-2.12 machines
Date: Fri, 17 Jan 2025 11:01:02 +0000 [thread overview]
Message-ID: <Z4o4bkxPbFOWOF74@redhat.com> (raw)
In-Reply-To: <70342038-6bd6-4c80-b46f-69a3c58fb5b5@redhat.com>
On Fri, Jan 17, 2025 at 09:29:40AM +0100, Thomas Huth wrote:
> On 17/01/2025 09.09, Daniel P. Berrangé wrote:
> > On Fri, Jan 17, 2025 at 07:47:15AM +0100, Thomas Huth wrote:
> > > On 16/01/2025 22.13, Philippe Mathieu-Daudé wrote:
> > > > Hi Peter,
> > > >
> > > > On 16/1/25 15:59, Philippe Mathieu-Daudé wrote:
> > > > > The versioned 'virt' machines up to 2.12 been marked as deprecated
> > > > > two releases ago, and are older than 6 years, so according to our
> > > > > support policy we can remove them. Remove associated dead code.
> > > >
> > > > > Philippe Mathieu-Daudé (13):
> > > > > hw/arm/virt: Remove deprecated virt-2.6 machine
> > > > > hw/arm/virt: Remove VirtMachineClass::no_pmu field
> > > > > hw/arm/virt: Remove VirtMachineClass::disallow_affinity_adjustment
> > > > > hw/arm/virt: Remove deprecated virt-2.7 machine
> > > > > hw/arm/virt: Remove VirtMachineClass::no_its field
> > > > > hw/arm/virt: Remove deprecated virt-2.8 machine
> > > > > hw/arm/virt: Remove VirtMachineClass::claim_edge_triggered_timers
> > > > > field
> > > > > hw/arm/virt: Remove deprecated virt-2.9 machine
> > > > > hw/arm/virt: Remove deprecated virt-2.10 machine
> > > > > hw/arm/virt: Remove deprecated virt-2.11 machine
> > > > > hw/arm/virt: Remove VirtMachineClass::smbios_old_sys_ver field
> > > > > hw/arm/virt: Remove deprecated virt-2.12 machine
> > > > > hw/arm/virt: Remove VirtMachineClass::no_highmem_ecam field
> > > >
> > > > Please ignore this (reviewed) series for now. I'll rebase it and
> > > > repost after the 10.0 release.
> > >
> > > Why? IMHO it should be ok to include them now already. While Daniel's macro
> > > only starts the automatic disablement for 10.1, it should be ok to remove
> > > them now already according to our normal deprecation policy: The machines
> > > have been marked as deprecated in the 9.1 release already (via commit
> > > https://gitlab.com/qemu-project/qemu/-/commit/ce80c4fa6ff ), and thus they
> > > have been deprecated since two releases already. So it should be fine to
> > > remove them now, shouldn't it?
> >
> > No, because as of 9.1.0 we documented that machine types are under the
> > new policy, and these were only deprecated in 9.1.0, hence the new policy
> > applies to them.
>
> Hm, I guess we could argue now about the wording (I don't see a spot in
> ce80c4fa6ff that says that this only happens starting with 10.1), but in the
> long run, it doesn't really matter much whether we remove these machines
> with 10.0 already or just with 10.1, so let's go with 10.1 instead.
That's the wrong commit - I documented the delayed impl of deletion
in a separate commit, so that we could just revert that part on its
own in 10.1 dev:
commit c9fd2d9a48ee3c195cf83cc611b87b09f02f0013
Author: Daniel P. Berrangé <berrange@redhat.com>
Date: Thu Jun 20 17:57:37 2024 +0100
include/hw: temporarily disable deletion of versioned machine types
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.
This whole commit should be reverted in the 10.1.0 dev cycle or shortly
thereafter.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240620165742.1711389-10-berrange@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
If a machine type was deprected *before* the 9.1 release cycle, I think
it is fair game to delete it under the historical deprecation rules.
If a machine type was deprecated in 9.1, or later cycles, I think that
deletion is gated until 10.1.0 under the policy applied by that commit
above.
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 :|
next prev parent reply other threads:[~2025-01-17 11:02 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-16 14:59 [PATCH-for-10.1 v2 00/13] hw/arm: Remove virt-2.6 up to virt-2.12 machines Philippe Mathieu-Daudé
2025-01-16 14:59 ` [PATCH-for-10.1 v2 01/13] hw/arm/virt: Remove deprecated virt-2.6 machine Philippe Mathieu-Daudé
2025-01-16 17:42 ` Richard Henderson
2025-01-16 14:59 ` [PATCH-for-10.1 v2 02/13] hw/arm/virt: Remove VirtMachineClass::no_pmu field Philippe Mathieu-Daudé
2025-01-16 17:44 ` Richard Henderson
2025-01-16 14:59 ` [PATCH-for-10.1 v2 03/13] hw/arm/virt: Remove VirtMachineClass::disallow_affinity_adjustment Philippe Mathieu-Daudé
2025-01-16 15:16 ` Andrew Jones
2025-01-16 19:37 ` Thomas Huth
2025-01-16 17:47 ` Richard Henderson
2025-04-29 15:45 ` Philippe Mathieu-Daudé
2025-01-16 14:59 ` [PATCH-for-10.1 v2 04/13] hw/arm/virt: Remove deprecated virt-2.7 machine Philippe Mathieu-Daudé
2025-01-16 17:47 ` Richard Henderson
2025-01-16 19:37 ` Thomas Huth
2025-01-16 14:59 ` [PATCH-for-10.1 v2 05/13] hw/arm/virt: Remove VirtMachineClass::no_its field Philippe Mathieu-Daudé
2025-01-16 17:54 ` Richard Henderson
2025-01-16 14:59 ` [PATCH-for-10.1 v2 06/13] hw/arm/virt: Remove deprecated virt-2.8 machine Philippe Mathieu-Daudé
2025-01-16 17:56 ` Richard Henderson
2025-01-16 19:39 ` Thomas Huth
2025-01-16 14:59 ` [PATCH-for-10.1 v2 07/13] hw/arm/virt: Remove VirtMachineClass::claim_edge_triggered_timers field Philippe Mathieu-Daudé
2025-01-16 17:58 ` Richard Henderson
2025-01-16 14:59 ` [PATCH-for-10.1 v2 08/13] hw/arm/virt: Remove deprecated virt-2.9 machine Philippe Mathieu-Daudé
2025-01-16 17:58 ` Richard Henderson
2025-01-16 19:40 ` Thomas Huth
2025-01-16 14:59 ` [PATCH-for-10.1 v2 09/13] hw/arm/virt: Remove deprecated virt-2.10 machine Philippe Mathieu-Daudé
2025-01-16 17:59 ` Richard Henderson
2025-01-16 19:41 ` Thomas Huth
2025-01-16 14:59 ` [PATCH-for-10.1 v2 10/13] hw/arm/virt: Remove deprecated virt-2.11 machine Philippe Mathieu-Daudé
2025-01-16 18:03 ` Richard Henderson
2025-01-16 19:45 ` Thomas Huth
2025-01-16 14:59 ` [PATCH-for-10.1 v2 11/13] hw/arm/virt: Remove VirtMachineClass::smbios_old_sys_ver field Philippe Mathieu-Daudé
2025-01-16 18:03 ` Richard Henderson
2025-01-16 14:59 ` [PATCH-for-10.1 v2 12/13] hw/arm/virt: Remove deprecated virt-2.12 machine Philippe Mathieu-Daudé
2025-01-16 18:03 ` Richard Henderson
2025-01-16 19:45 ` Thomas Huth
2025-01-16 14:59 ` [PATCH-for-10.1 v2 13/13] hw/arm/virt: Remove VirtMachineClass::no_highmem_ecam field Philippe Mathieu-Daudé
2025-01-16 18:04 ` Richard Henderson
2025-01-16 21:13 ` [PATCH-for-10.1 v2 00/13] hw/arm: Remove virt-2.6 up to virt-2.12 machines Philippe Mathieu-Daudé
2025-01-17 6:47 ` Thomas Huth
2025-01-17 8:09 ` Daniel P. Berrangé
2025-01-17 8:29 ` Thomas Huth
2025-01-17 11:01 ` Daniel P. Berrangé [this message]
2025-01-17 8:44 ` Philippe Mathieu-Daudé
2025-05-02 13:37 ` Peter Maydell
2025-05-02 14:58 ` Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z4o4bkxPbFOWOF74@redhat.com \
--to=berrange@redhat.com \
--cc=ajones@ventanamicro.com \
--cc=anisinha@redhat.com \
--cc=imammedo@redhat.com \
--cc=mst@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=shannon.zhaosl@gmail.com \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.