From: Peter Krempa Date: Thu, 5 Nov 2015 14:23:37 +0000 (+0100) Subject: qemu: migration: Actually error out on unsupported migration flag X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=afb792bd3807b74576603a70d545ee9cad2083ba;p=libvirt.git qemu: migration: Actually error out on unsupported migration flag 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. --- diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c index a53a53369a..e8ffde0d2d 100644 --- a/src/qemu/qemu_migration.c +++ b/src/qemu/qemu_migration.c @@ -1236,6 +1236,7 @@ qemuMigrationCookieXMLParse(qemuMigrationCookiePtr mig, _("Unsupported migration cookie feature %s"), str); VIR_FREE(str); + goto error; } VIR_FREE(str); }