From d3ddd432e280a2d822e3b45dd32c677f3bca88e9 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 10 Aug 2022 15:31:12 +0200 Subject: [PATCH] qemuProcessBeginStopJob: Add debug log when waking up all threads waiting on domain condition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Aid in debugging of potentially stuck threads. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- 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 f45bfc7024..9c773b06b0 100644 --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -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)