qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 12/12] ram: save_live_setup() we don't need to synch


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 12/12] ram: save_live_setup() we don't need to synchronize the dirty bitmap.
Date: Thu, 28 Jun 2012 21:22:10 +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 <address@hidden>
---
 arch_init.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/arch_init.c b/arch_init.c
index 8299c15..c1b4f13 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;
-- 
1.7.10.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]