mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 13:30:52 +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:
parent
c82954e529
commit
901862cbf4
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user