mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
qemu: fix error message with migrate2 xml
Otherwise, an ABI mismatch gives error messages attributing the target xml string as current, and the current domain state as the new xml. * src/qemu/qemu_migration.c (qemuMigrationBegin): Use correct argument order.
This commit is contained in:
parent
8e22e08935
commit
360e5ea144
@ -1037,7 +1037,7 @@ char *qemuMigrationBegin(struct qemud_driver *driver,
|
|||||||
VIR_DOMAIN_XML_INACTIVE)))
|
VIR_DOMAIN_XML_INACTIVE)))
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
if (!virDomainDefCheckABIStability(def, vm->def))
|
if (!virDomainDefCheckABIStability(vm->def, def))
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
rv = qemuDomainDefFormatXML(driver, def,
|
rv = qemuDomainDefFormatXML(driver, def,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user