a41c76
From 24405105c86a955a028a915153d1c1dfe450f237 Mon Sep 17 00:00:00 2001
a41c76
Message-Id: <24405105c86a955a028a915153d1c1dfe450f237@dist-git>
a41c76
From: =?UTF-8?q?J=C3=A1n=20Tomko?= <jtomko@redhat.com>
a41c76
Date: Mon, 20 Jan 2020 09:31:21 +0100
a41c76
Subject: [PATCH] qemu: end the agent job in qemuDomainSetTimeAgent
a41c76
MIME-Version: 1.0
a41c76
Content-Type: text/plain; charset=UTF-8
a41c76
Content-Transfer-Encoding: 8bit
a41c76
a41c76
This function grabs an agent job but ends a monitor job.
a41c76
End the agent job instead.
a41c76
a41c76
https://bugzilla.redhat.com/show_bug.cgi?id=1792723
a41c76
a41c76
Signed-off-by: Ján Tomko <jtomko@redhat.com>
a41c76
Reported-by: Dan Zheng <dzheng@redhat.com>
a41c76
Fixes: e005c95f56fee9ed780be7f8db103d690bd34cbd
a41c76
(cherry picked from commit d61f95cf6a6fbd564e104c168d325581acd9cd8d)
a41c76
Signed-off-by: Ján Tomko <jtomko@redhat.com>
a41c76
Message-Id: <d00e462cf0f84d7d2d105f30f0ec8edf49786403.1579509070.git.jtomko@redhat.com>
a41c76
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
a41c76
---
a41c76
 src/qemu/qemu_driver.c | 2 +-
a41c76
 1 file changed, 1 insertion(+), 1 deletion(-)
a41c76
a41c76
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
a41c76
index 217d873671..6163b13e91 100644
a41c76
--- a/src/qemu/qemu_driver.c
a41c76
+++ b/src/qemu/qemu_driver.c
a41c76
@@ -20373,7 +20373,7 @@ qemuDomainSetTimeAgent(virQEMUDriverPtr driver,
a41c76
     qemuDomainObjExitAgent(vm, agent);
a41c76
 
a41c76
  endjob:
a41c76
-    qemuDomainObjEndJob(driver, vm);
a41c76
+    qemuDomainObjEndAgentJob(vm);
a41c76
     return ret;
a41c76
 }
a41c76
 
a41c76
-- 
a41c76
2.25.0
a41c76