aboutsummaryrefslogtreecommitdiff
path: root/arch_init.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-08-03 12:58:16 +0200
committerJuan Quintela <quintela@redhat.com>2012-10-17 18:34:58 +0200
commit79536f4f16934d6759a1d67f0342b4e7ceb66671 (patch)
treedf71f252f3628c19888bed92bc31c602eccfbb9c /arch_init.c
parent05e72dc5812a9f461fc2c606dff2572909eafc39 (diff)
fix migration sync
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch_init.c')
-rw-r--r--arch_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch_init.c b/arch_init.c
index 9904f95478..671d3545cc 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -517,6 +517,7 @@ static int ram_save_setup(QEMUFile *f, void *opaque)
}
memory_global_dirty_log_start();
+ memory_global_sync_dirty_bitmap(get_system_memory());
qemu_put_be64(f, ram_bytes_total() | RAM_SAVE_FLAG_MEM_SIZE);