render / rpms / libvirt

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