[PATCH 1/4] qemuProcessBeginStopJob: Add debug log when waking up all threads waiting on domain condition
Peter Krempa
pkrempa at redhat.com
Wed Aug 10 14:06:46 UTC 2022
Aid in debugging of potentially stuck threads.
Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
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
More information about the libvir-list
mailing list