]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: fix vm deadlock when try to use numatune in session mode
authorLuyao Huang <lhuang@redhat.com>
Tue, 17 Feb 2015 03:37:52 +0000 (11:37 +0800)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 17 Feb 2015 10:08:00 +0000 (11:08 +0100)
https://bugzilla.redhat.com/show_bug.cgi?id=1126762

Commit 43b67f introduced a deadlock issue when we use numatune
to change numa settings to a vm in session mode.

Jump to endjob instead of jump to cleanup.

Signed-off-by: Luyao Huang <lhuang@redhat.com>
src/qemu/qemu_driver.c

index 709f46806ab696861b41212e127c3fa4e22615de..1bbbe9bc87d86857e2ccd63f7e4e6df4e911fb54 100644 (file)
@@ -9495,7 +9495,7 @@ qemuDomainSetNumaParameters(virDomainPtr dom,
         flags & VIR_DOMAIN_AFFECT_LIVE) {
         virReportError(VIR_ERR_OPERATION_UNSUPPORTED, "%s",
                        _("NUMA tuning is not available in session mode"));
-        goto cleanup;
+        goto endjob;
     }
 
     if (flags & VIR_DOMAIN_AFFECT_LIVE) {