From ad37e05e2667e3fb0eda25f5901438fbe22edeb2 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Mon, 3 Jan 2022 16:17:30 +0100 Subject: [PATCH] NEWS: Mention device hot-unplug regression with qemu-6.2 and workarounds for it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Krempa Reviewed-by: Ani Sinha Reviewed-by: Ján Tomko --- NEWS.rst | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 7ee03fde0e..b5893627e3 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -59,6 +59,37 @@ v8.0.0 (unreleased) * **Bug fixes** + * qemu: Fix device hot-unplug with ``libvirt-7.9`` or ``libvirt-7.10`` used with ``qemu-6.2`` + + An internal change to the configuration format used by the above libvirt + versions triggers a bug in ``qemu-6.2`` where qemu no longer emits the + event notifying that the device was unplugged successfully and thus libvirt + never removes the device from the definition. + + This impacts only devices which were present at startup of the VM, hotplugged + devices behave correctly. + + This is fixed in ``libvirt-8.0`` by reverting to the old configuration + approach until qemu is fixed. + + As a workaround for ``libvirt-7.9`` and ``libvirt-7.10`` the old configuration + approach can be forced by: + + Option 1, global ``qemu.conf``:: + + capability_filters = [ "device.json" ] + + Option 2, per VM XML override:: + + + + [...] + + + + + + v7.10.0 (2021-12-01) ====================