mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 22:55:23 +00:00
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.
This commit is contained in:
parent
c27020dd4f
commit
d59ca12048
@ -4383,6 +4383,7 @@ qemuDomainSignalDeviceRemoval(virDomainObjPtr vm,
|
|||||||
qemuDomainObjPrivatePtr priv = vm->privateData;
|
qemuDomainObjPrivatePtr priv = vm->privateData;
|
||||||
|
|
||||||
if (STREQ_NULLABLE(priv->unplug.alias, devAlias)) {
|
if (STREQ_NULLABLE(priv->unplug.alias, devAlias)) {
|
||||||
|
VIR_DEBUG("Removal of device '%s' continues in waiting thread", devAlias);
|
||||||
qemuDomainResetDeviceRemoval(vm);
|
qemuDomainResetDeviceRemoval(vm);
|
||||||
priv->unplug.status = status;
|
priv->unplug.status = status;
|
||||||
virDomainObjBroadcast(vm);
|
virDomainObjBroadcast(vm);
|
||||||
|
Loading…
Reference in New Issue
Block a user