aboutsummaryrefslogtreecommitdiff
path: root/python/qemu/machine/console_socket.py
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2025-02-25 19:36:23 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2025-05-08 17:11:07 +0100
commitf59ee044067a2eeff0d53c7e87b8295835ac190a (patch)
tree9f421971e6213426c740cc7657e11d8a2dafe9f4 /python/qemu/machine/console_socket.py
parent3dfa5a5c71cd67712b301db19ecc96118ceb10a5 (diff)
downloadqemu-f59ee044067a2eeff0d53c7e87b8295835ac190a.zip
qemu-f59ee044067a2eeff0d53c7e87b8295835ac190a.tar.gz
qemu-f59ee044067a2eeff0d53c7e87b8295835ac190a.tar.bz2
include/hw/boards: cope with dev/rc versions in deprecation checks
When VERSION is set to a development snapshot (micro >= 50), or a release candidate (micro >= 90) we have an off-by-1 in determining deprecation and deletion thresholds for versioned machine types. In such cases we need to use the next major/minor version in threshold checks. This adapts the deprecation macros to do "next version" prediction when seeing a dev/rc version number. This ensures users of release candidates get an accurate view of machines that will be deprecated/deleted in the final release. This requires hardcoding our current release policy of 3 releases per year, with a major bump at the start of each year, and that dev/rc versions have micro >= 50. Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'python/qemu/machine/console_socket.py')
0 files changed, 0 insertions, 0 deletions