From 0da0304818e4c6345a9c6d7e092b9ad35252a854 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 22 Jun 2022 15:23:36 +0200 Subject: [PATCH] qemu: Formally deprecate support for qemu < 4.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Michal Privoznik Reviewed-by: Ján Tomko --- 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 c33706ccea..7ee11e9deb 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 80a8002f0c..43b9c2fd76 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -5362,8 +5362,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.47.2