summaryrefslogtreecommitdiff
path: root/migration.c
diff options
context:
space:
mode:
authorBenoît Canet <benoit.canet@gmail.com>2012-03-23 08:36:52 +0100
committerKevin Wolf <kwolf@redhat.com>2012-04-05 16:28:49 +0200
commit901862cbf49639aaef23a575d40ae81282b6fcfc (patch)
tree606f562f897f5771cdd010ad467fdb4576f305b2 /migration.c
parentc82954e529929c2d650589d8bccaaf19dec33431 (diff)
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>
Diffstat (limited to 'migration.c')
-rw-r--r--migration.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/migration.c b/migration.c
index 8c119ba8ff..94f7839e8b 100644
--- a/migration.c
+++ b/migration.c
@@ -91,6 +91,7 @@ void process_incoming_migration(QEMUFile *f)
qemu_announce_self();
DPRINTF("successfully loaded vm state\n");
+ bdrv_clear_incoming_migration_all();
/* Make sure all file formats flush their mutable metadata */
bdrv_invalidate_cache_all();