Re: [Qemu-devel] [RFC 26/29] migration: synchronize dirty bitmap for resume

2017-08-04 Thread Peter Xu
On Thu, Aug 03, 2017 at 12:56:31PM +0100, Dr. David Alan Gilbert wrote: [...] > > @@ -256,6 +257,8 @@ struct RAMState { > > RAMBlock *last_req_rb; > > /* Queue of outstanding page requests from the destination */ > > QemuMutex src_page_req_mutex; > > +/* Ramblock counts to sync

Re: [Qemu-devel] [RFC 26/29] migration: synchronize dirty bitmap for resume

2017-08-03 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > This patch implements the first part of core RAM resume logic for > postcopy. ram_resume_prepare() is provided for the work. > > When the migration is interrupted by network failure, the dirty bitmap > on the source side will be meaningless, because even the