mirror of
https://github.com/mii443/qemu.git
synced 2025-12-12 21:38:47 +00:00
migration: clear BDRV_O_INCOMING flags on end of incoming live migration
Signed-off-by: Benoît Canet <benoit.canet@gmail.com> Reviewed-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
@@ -91,6 +91,7 @@ void process_incoming_migration(QEMUFile *f)
|
|||||||
qemu_announce_self();
|
qemu_announce_self();
|
||||||
DPRINTF("successfully loaded vm state\n");
|
DPRINTF("successfully loaded vm state\n");
|
||||||
|
|
||||||
|
bdrv_clear_incoming_migration_all();
|
||||||
/* Make sure all file formats flush their mutable metadata */
|
/* Make sure all file formats flush their mutable metadata */
|
||||||
bdrv_invalidate_cache_all();
|
bdrv_invalidate_cache_all();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user