From: Peter Krempa Date: Wed, 22 Jun 2022 13:23:36 +0000 (+0200) Subject: qemu: Formally deprecate support for qemu < 4.2 X-Git-Tag: v8.7.0-rc1~146 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0da0304818e4c6345a9c6d7e092b9ad35252a854;p=thirdparty%2Flibvirt.git qemu: Formally deprecate support for qemu < 4.2 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 --- 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