diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2025-02-25 19:39:12 +0000 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2025-05-08 17:11:14 +0100 |
commit | 83e256c0df7433c05d28b11690323fba7ad9dbf0 (patch) | |
tree | 1397792d167efa41cca1270d046f053e1f8a08ee | |
parent | ae8ac80c50c2d50e3e17cf5ab35083d2da106235 (diff) | |
download | qemu-83e256c0df7433c05d28b11690323fba7ad9dbf0.zip qemu-83e256c0df7433c05d28b11690323fba7ad9dbf0.tar.gz qemu-83e256c0df7433c05d28b11690323fba7ad9dbf0.tar.bz2 |
docs/about/removed-features: auto-generate a note for versioned machine types
We remove versioned machine types on a fixed schedule. This allows us
to auto-generate a paragraph in the removed-features.rst document that
always has accurate version info.
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
-rw-r--r-- | docs/about/removed-features.rst | 10 | ||||
-rw-r--r-- | docs/conf.py | 2 |
2 files changed, 8 insertions, 4 deletions
diff --git a/docs/about/removed-features.rst b/docs/about/removed-features.rst index 790a5e4..063284d 100644 --- a/docs/about/removed-features.rst +++ b/docs/about/removed-features.rst @@ -981,10 +981,12 @@ from Linux in 2021, and is not supported anymore by QEMU either. System emulator machines ------------------------ -Note: Versioned machine types that have been introduced in a QEMU version -that has initially been released more than 6 years before are considered -obsolete and will be removed without further notice in this document. -Please use newer machine types instead. +Versioned machine types (aarch64, arm, i386, m68k, ppc64, s390x, x86_64) +'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' + +In accordance with our versioned machine type deprecation policy, all machine +types with version |VER_MACHINE_DELETION_VERSION|, or older, have been +removed. ``s390-virtio`` (removed in 2.6) '''''''''''''''''''''''''''''''' diff --git a/docs/conf.py b/docs/conf.py index 60dcf2a..248ff8c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -137,6 +137,7 @@ if micro >= 50: minor += 1 ver_machine_deprecation_version = "%d.%d.0" % (major - 3, minor) +ver_machine_deletion_version = "%d.%d.0" % (major - 6, minor) # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -170,6 +171,7 @@ confdir = os.getenv('CONFDIR', "/etc/qemu") vars = { "CONFDIR": confdir, "VER_MACHINE_DEPRECATION_VERSION": ver_machine_deprecation_version, + "VER_MACHINE_DELETION_VERSION": ver_machine_deletion_version, } rst_epilog = "".join([ |