From d59ca1204893f5826feebbc99ab249150aef74b2 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Fri, 3 Mar 2017 16:02:01 +0100 Subject: [PATCH] qemu: hotplug: Add debug log when dispatching device removal to existing thread Note that the waiting thread is signaled in the debug logs to simplify debugging. --- src/qemu/qemu_hotplug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c index 0e4af830f4..b421340dde 100644 --- a/src/qemu/qemu_hotplug.c +++ b/src/qemu/qemu_hotplug.c @@ -4383,6 +4383,7 @@ qemuDomainSignalDeviceRemoval(virDomainObjPtr vm, qemuDomainObjPrivatePtr priv = vm->privateData; if (STREQ_NULLABLE(priv->unplug.alias, devAlias)) { + VIR_DEBUG("Removal of device '%s' continues in waiting thread", devAlias); qemuDomainResetDeviceRemoval(vm); priv->unplug.status = status; virDomainObjBroadcast(vm); -- GitLab