ram: save_live_setup() we don't need to synchronize the dirty bitmap.
authorJuan Quintela <quintela@redhat.com>
Thu, 28 Jun 2012 17:58:47 +0000 (19:58 +0200)
committerJuan Quintela <quintela@redhat.com>
Fri, 20 Jul 2012 06:19:27 +0000 (08:19 +0200)
1st: we were synchonizing the dirty bitmap before calling
      memory_global_dirty_log_start().

2nd: We are marking all pages as dirty anywhere, no reason to go
     through all the bitmap to "mark" dirty same pages twice.

So, call removed.

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

index b08c615..8cbf8f4 100644 (file)
@@ -308,8 +308,6 @@ static int ram_save_setup(QEMUFile *f, void *opaque)
     ram_addr_t addr;
     RAMBlock *block;
 
-    memory_global_sync_dirty_bitmap(get_system_memory());
-
     bytes_transferred = 0;
     last_block = NULL;
     last_offset = 0;