mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
qemu: Reset post-copy capability after migration
Unlike other migration capabilities, post-copy is also set on the destination host which means it doesn't disappear once domain is migrated. As a result of that other functionality which internally uses migration to a file (virDomainManagedSave, virDomainSave, virDomainCoreDump) may fail after migration because the post-copy capability is still set. https://bugzilla.redhat.com/show_bug.cgi?id=1374718 Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
0c62ccf927
commit
fe1dd39087
@ -6418,6 +6418,9 @@ qemuMigrationFinish(virQEMUDriverPtr driver,
|
||||
*/
|
||||
if (inPostCopy)
|
||||
VIR_FREE(priv->job.completed);
|
||||
|
||||
qemuMigrationSetPostCopy(driver, vm, false,
|
||||
QEMU_ASYNC_JOB_MIGRATION_IN);
|
||||
}
|
||||
|
||||
qemuMigrationJobFinish(driver, vm);
|
||||
|
Loading…
x
Reference in New Issue
Block a user