]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix qemu job handling in SetSchedulerParameters
authorJán Tomko <jtomko@redhat.com>
Tue, 10 Feb 2015 13:36:03 +0000 (14:36 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 10 Feb 2015 13:36:03 +0000 (14:36 +0100)
Commit c5ee5cf added a job to SetSchedulerParameters, but
forgot to change one label in the SCHED_RANGE_CHECK macro.

src/qemu/qemu_driver.c

index 161434082385eb6e9e45d5220696b327f3554ecb..e3ca437dabd516c4b7d9a522db55bcbafc58ebd2 100644 (file)
@@ -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