5 May
2026
5 May
'26
3:35 p.m.
On Wed, Apr 29, 2026 at 17:43:27 +0530, Akash Kulhalli via Devel wrote:
Thread an async_unplug flag through the internal QEMU vCPU unplug helpers.
When set, the unplug path returns after QEMU accepts the device deletion request and leaves final completion to the existing DEVICE_DELETED handling routines.
All callers still pass false, so this does not change behaviour yet.
Signed-off-by: Akash Kulhalli <akash.kulhalli@oracle.com> --- src/qemu/qemu_driver.c | 5 ++-- src/qemu/qemu_hotplug.c | 51 +++++++++++++++++++++++++++++++++-------- src/qemu/qemu_hotplug.h | 6 +++-- tests/qemuhotplugtest.c | 5 ++-- 4 files changed, 52 insertions(+), 15 deletions(-)
Reviewed-by: Peter Krempa <pkrempa@redhat.com>