File d61f95cf-qemu-end-agent-job.patch of Package libvirt.21389

commit d61f95cf6a6fbd564e104c168d325581acd9cd8d
Author: Ján Tomko <jtomko@redhat.com>
Date:   Mon Jan 20 07:55:48 2020 +0100

    qemu: end the agent job in qemuDomainSetTimeAgent
    
    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 <jtomko@redhat.com>
    Reported-by: Dan Zheng <dzheng@redhat.com>
    Fixes: e005c95f56fee9ed780be7f8db103d690bd34cbd

Index: libvirt-6.0.0/src/qemu/qemu_driver.c
===================================================================
--- libvirt-6.0.0.orig/src/qemu/qemu_driver.c
+++ libvirt-6.0.0/src/qemu/qemu_driver.c
@@ -20376,7 +20376,7 @@ qemuDomainSetTimeAgent(virQEMUDriverPtr
     qemuDomainObjExitAgent(vm, agent);
 
  endjob:
-    qemuDomainObjEndJob(driver, vm);
+    qemuDomainObjEndAgentJob(vm);
     return ret;
 }
 
openSUSE Build Service is sponsored by