[PATCH 1/4] qemuProcessBeginStopJob: Add debug log when waking up all threads waiting on domain condition

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

 



Aid in debugging of potentially stuck threads.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/qemu/qemu_process.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index 478a46bff6..0f30247817 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -8145,6 +8145,7 @@ qemuProcessBeginStopJob(virQEMUDriver *driver,
         goto cleanup;

     /* Wake up anything waiting on domain condition */
+    VIR_DEBUG("waking up all jobs waiting on the domain condition");
     virDomainObjBroadcast(vm);

     if (qemuDomainObjBeginJob(driver, vm, job) < 0)
-- 
2.37.1




[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