]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemuProcessBeginStopJob: Add debug log when waking up all threads waiting on domain...
authorPeter Krempa <pkrempa@redhat.com>
Wed, 10 Aug 2022 13:31:12 +0000 (15:31 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 11 Aug 2022 11:15:02 +0000 (13:15 +0200)
Aid in debugging of potentially stuck threads.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_process.c

index f45bfc7024ea6e65349234cf631da4e945687f21..9c773b06b07b8caec510369fd6fcf9335b51dad5 100644 (file)
@@ -8130,6 +8130,7 @@ qemuProcessBeginStopJob(virDomainObj *vm,
         goto cleanup;
 
     /* Wake up anything waiting on domain condition */
+    VIR_DEBUG("waking up all jobs waiting on the domain condition");
     virDomainObjBroadcast(vm);
 
     if (qemuDomainObjBeginJob(vm, job) < 0)