This reverts previous commit. Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> --- src/qemu/qemu_hotplug.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c index 0caf75659c..574477e916 100644 --- a/src/qemu/qemu_hotplug.c +++ b/src/qemu/qemu_hotplug.c @@ -82,12 +82,8 @@ static inline int qemuDomainDeleteDevice(qemuMonitorPtr mon, const char *alias) { - if (qemuMonitorDelDevice(mon, alias) < 0) { - virObjectUnlock(mon); - sleep(10); - virObjectLock(mon); + if (qemuMonitorDelDevice(mon, alias) < 0) return -1; - } return 0; } -- 2.19.2 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list