qemuProcessBeginStopJob: Add debug log when waking up all threads waiting on domain condition

Aid in debugging of potentially stuck threads.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa 2022-08-10 15:31:12 +02:00
parent a2a66479a1
commit d3ddd432e2

View 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)