[PATCH 14/20] qemu: Formally deprecate support for qemu < 4.2

Peter Krempa pkrempa at redhat.com
Fri Jul 15 11:44:19 UTC 2022


Per [1] the Debian 10 reaches EOL in August of 2022. This allows us to
bump the minimum supported qemu version to qemu-4.2 which will also
allow us to do significant cleanups.

This commit bumps the minimum qemu verison and updates the corresponding
docs.

[1]: https://wiki.debian.org/DebianReleases

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 docs/drvqemu.rst             | 2 +-
 src/qemu/qemu_capabilities.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/drvqemu.rst b/docs/drvqemu.rst
index c9f2432268..5fb98fafd2 100644
--- a/docs/drvqemu.rst
+++ b/docs/drvqemu.rst
@@ -5,7 +5,7 @@
 QEMU/KVM/HVF hypervisor driver
 ==============================

-The libvirt KVM/QEMU driver can manage any QEMU emulator from version 3.1.0 or
+The libvirt KVM/QEMU driver can manage any QEMU emulator from version 4.2.0 or
 later.

 It supports multiple QEMU accelerators: software
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index fa8ffd19ca..c02fef6acd 100644
--- a/src/qemu/qemu_capabilities.c
+++ b/src/qemu/qemu_capabilities.c
@@ -5364,8 +5364,8 @@ virQEMUCapsProbeQMPSchemaCapabilities(virQEMUCaps *qemuCaps,
     return 0;
 }

-#define QEMU_MIN_MAJOR 3
-#define QEMU_MIN_MINOR 1
+#define QEMU_MIN_MAJOR 4
+#define QEMU_MIN_MINOR 2
 #define QEMU_MIN_MICRO 0

 virDomainVirtType
-- 
2.36.1



More information about the libvir-list mailing list