Re: [Qemu-devel] [RFC 4/6] migration: move dirty bitmap sync to ram_addr.h

2014-12-01 Thread Dr. David Alan Gilbert
* Stefan Hajnoczi (stefa...@redhat.com) wrote: > On Thu, Nov 27, 2014 at 04:29:06PM +, Dr. David Alan Gilbert wrote: > > * Stefan Hajnoczi (stefa...@redhat.com) wrote: > > > The dirty memory bitmap is managed by ram_addr.h and copied to > > > migration_bitmap[] periodically during live migratio

Re: [Qemu-devel] [RFC 4/6] migration: move dirty bitmap sync to ram_addr.h

2014-12-01 Thread Stefan Hajnoczi
On Thu, Nov 27, 2014 at 04:29:06PM +, Dr. David Alan Gilbert wrote: > * Stefan Hajnoczi (stefa...@redhat.com) wrote: > > The dirty memory bitmap is managed by ram_addr.h and copied to > > migration_bitmap[] periodically during live migration. > > > > Move the code to sync the bitmap to ram_add

Re: [Qemu-devel] [RFC 4/6] migration: move dirty bitmap sync to ram_addr.h

2014-11-27 Thread Dr. David Alan Gilbert
* Stefan Hajnoczi (stefa...@redhat.com) wrote: > The dirty memory bitmap is managed by ram_addr.h and copied to > migration_bitmap[] periodically during live migration. > > Move the code to sync the bitmap to ram_addr.h where related code lives. Is this sync code going to need to gain a barrier (

[Qemu-devel] [RFC 4/6] migration: move dirty bitmap sync to ram_addr.h

2014-11-27 Thread Stefan Hajnoczi
The dirty memory bitmap is managed by ram_addr.h and copied to migration_bitmap[] periodically during live migration. Move the code to sync the bitmap to ram_addr.h where related code lives. Signed-off-by: Stefan Hajnoczi --- arch_init.c | 46 ++--