diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2024-06-20 17:57:37 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-07-02 06:58:31 +0200 |
commit | c9fd2d9a48ee3c195cf83cc611b87b09f02f0013 (patch) | |
tree | f9c3e2909cd6735a844ff73255616b6464eb5c44 /scripts/qapi/parser.py | |
parent | a35f8577a0789fe883047afb13a45ecfae4f0107 (diff) | |
download | qemu-c9fd2d9a48ee3c195cf83cc611b87b09f02f0013.zip qemu-c9fd2d9a48ee3c195cf83cc611b87b09f02f0013.tar.gz qemu-c9fd2d9a48ee3c195cf83cc611b87b09f02f0013.tar.bz2 |
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>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions