From 34188b9f1bb1e53d2372e02c0388430a85f4cad5 Mon Sep 17 00:00:00 2001 Message-Id: <34188b9f1bb1e53d2372e02c0388430a85f4cad5@dist-git> From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Thu, 18 Jun 2020 12:31:46 +0200 Subject: [PATCH] qemu: end the agent job in qemuDomainSetTimeAgent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This function grabs an agent job but ends a monitor job. End the agent job instead. https://bugzilla.redhat.com/show_bug.cgi?id=1792723 Signed-off-by: Ján Tomko Reported-by: Dan Zheng Fixes: e005c95f56fee9ed780be7f8db103d690bd34cbd (cherry picked from commit d61f95cf6a6fbd564e104c168d325581acd9cd8d) Signed-off-by: Ján Tomko https://bugzilla.redhat.com/show_bug.cgi?id=1844952 Message-Id: <7fa0860281f9f2a08acf488784738f54a8158e63.1592476262.git.jtomko@redhat.com> Reviewed-by: Michal Privoznik --- src/qemu/qemu_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index e1d9bbae99..449d869f98 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -19478,7 +19478,7 @@ qemuDomainSetTimeAgent(virQEMUDriverPtr driver, qemuDomainObjExitAgent(vm, agent); endjob: - qemuDomainObjEndJob(driver, vm); + qemuDomainObjEndAgentJob(vm); return ret; } -- 2.27.0