On 06/28/2012 10:22 PM, Juan Quintela wrote: > 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 <quint...@redhat.com> > --- > 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; > Reviewed-by: Orit Wasserman <owass...@redhat.com>
Re: [Qemu-devel] [PATCH 12/12] ram: save_live_setup() we don't need to synchronize the dirty bitmap.
- Re: [Qemu-devel] [PATCH 02/12] savevm: Live mi... Orit Wasserman
- Re: [Qemu-devel] [PATCH 02/12] savevm: Liv... Juan Quintela
- Re: [Qemu-devel] [PATCH 02/12] savevm... Orit Wasserman
- [Qemu-devel] [PATCH 04/12] savevm: remove SaveLiveStateHand... Juan Quintela
- Re: [Qemu-devel] [PATCH 04/12] savevm: remove SaveLive... Orit Wasserman
- [Qemu-devel] [PATCH 09/12] ram: save_live_setup() don't nee... Juan Quintela
- Re: [Qemu-devel] [PATCH 09/12] ram: save_live_setup() ... Orit Wasserman
- [Qemu-devel] [PATCH 10/12] ram: save_live_complete() only d... Juan Quintela
- Re: [Qemu-devel] [PATCH 10/12] ram: save_live_complete... Orit Wasserman
- [Qemu-devel] [PATCH 12/12] ram: save_live_setup() we don't ... Juan Quintela
- Re: [Qemu-devel] [PATCH 12/12] ram: save_live_setup() ... Orit Wasserman
- [Qemu-devel] [PATCH 11/12] ram: iterate phase Juan Quintela
- Re: [Qemu-devel] [PATCH 11/12] ram: iterate phase Igor Mitsyanko
- Re: [Qemu-devel] [PATCH 11/12] ram: iterate phase Juan Quintela
- [Qemu-devel] [PATCH 01/12] savevm: Use a struct to pass all... Juan Quintela
- Re: [Qemu-devel] Bad mail header? (was: [PATCH 01/12] ... Stefan Weil
- Re: [Qemu-devel] Bad mail header? Juan Quintela
- Re: [Qemu-devel] Bad mail header? Peter Maydell
- Re: [Qemu-devel] Bad mail header? Juan Quintela
- Re: [Qemu-devel] [PATCH 01/12] savevm: Use a struct to... Orit Wasserman
- [Qemu-devel] [PATCH 07/12] savevm: split save_live_setup fr... Juan Quintela