[libvirt] [PATCH] Fix qemu job handling in SetSchedulerParameters

Ján Tomko jtomko at redhat.com
Tue Feb 10 13:41:49 UTC 2015


Commit c5ee5cf added a job to SetSchedulerParameters, but
forgot to change one label in the SCHED_RANGE_CHECK macro.
---
Not yet released.

 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 1614340..e3ca437 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -9740,7 +9740,7 @@ qemuSetEmulatorBandwidthLive(virDomainObjPtr vm, virCgroupPtr cgroup,
                        _("value of '%s' is out of range [%lld, %lld]"),     \
                        NAME, MIN, MAX);                                     \
         rc = -1;                                                            \
-        goto cleanup;                                                       \
+        goto endjob;                                                        \
     }
 
 static int
-- 
2.0.5




More information about the libvir-list mailing list