]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
qemu: migration: Actually error out on unsupported migration flag
authorPeter Krempa <pkrempa@redhat.com>
Thu, 5 Nov 2015 14:23:37 +0000 (15:23 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 5 Nov 2015 14:23:37 +0000 (15:23 +0100)
The code reported that a migration flag is unsupported but didn't jump
to the error label. Probably an oversight in commit f88af9dc that
introduced the flag checking.

src/qemu/qemu_migration.c

index a53a53369a773df5e380c6dca320b1e62aae1208..e8ffde0d2d341efb7ec8fe2d9bb264011289aff3 100644 (file)
@@ -1236,6 +1236,7 @@ qemuMigrationCookieXMLParse(qemuMigrationCookiePtr mig,
                            _("Unsupported migration cookie feature %s"),
                            str);
             VIR_FREE(str);
+            goto error;
         }
         VIR_FREE(str);
     }