aboutsummaryrefslogtreecommitdiff
path: root/arch_init.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-06-28 19:58:47 +0200
committerJuan Quintela <quintela@redhat.com>2012-07-20 08:19:27 +0200
commit6d2fe810ed995dc79090c2ba179f4f0c694243b1 (patch)
treeaf9cd96cb1fdedd5d050deb89769c95de2052fbb /arch_init.c
parent00d94f3f7648bc3d7126bc6b84d42e22194d9230 (diff)
ram: save_live_setup() we don't need to synchronize the dirty bitmap.
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>
Diffstat (limited to 'arch_init.c')
-rw-r--r--arch_init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch_init.c b/arch_init.c
index b08c615dfd..8cbf8f4665 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -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;