[libvirt] [PATCH] qemu: Properly report error when cookin uuid not match the ctxt uuid
Luyao Huang
lhuang at redhat.com
Thu Feb 5 03:42:26 UTC 2015
Add the missing jump to the error label when cookin uuid
does not match the ctxt uuid.
Signed-off-by: Luyao Huang <lhuang at redhat.com>
---
src/qemu/qemu_migration.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
index 8a8fa63..879b1bf 100644
--- a/src/qemu/qemu_migration.c
+++ b/src/qemu/qemu_migration.c
@@ -1147,6 +1147,7 @@ qemuMigrationCookieXMLParse(qemuMigrationCookiePtr mig,
virReportError(VIR_ERR_INTERNAL_ERROR,
_("Incoming cookie data had unexpected UUID %s vs %s"),
tmp, uuidstr);
+ goto error;
}
VIR_FREE(tmp);
--
1.8.3.1
More information about the libvir-list
mailing list