[PATCH 4/5] DO NOT APPLY: Revert simple reproducer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux