mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-13 17:18:01 +03:00
qemu: Properly report error on uuid mismatch in the migration cookie
Add the missing jump to the error label when the uuid in the migration cookie XML does not match the uuid of the migrated domain. Signed-off-by: Luyao Huang <lhuang@redhat.com> Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
4cef725782
commit
1b2c9ce752
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user