fix migration sync

Signed-off-by: Juan Quintela <quintela@redhat.com>

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Juan Quintela 2012-08-03 12:58:16 +02:00
parent 05e72dc581
commit 79536f4f16

View File

@ -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);