Re: [Qemu-devel] [PATCH v8 07/11] migration: add bitmap for copied page

2017-06-12 Thread Peter Xu
On Tue, Jun 13, 2017 at 09:10:46AM +0300, Alexey Perevalov wrote: > On 06/13/2017 08:59 AM, Peter Xu wrote: > >On Wed, Jun 07, 2017 at 12:46:34PM +0300, Alexey Perevalov wrote: > >>This patch adds ability to track down already copied > >>pages, it's necessary for calculation vCPU block time in > >>

Re: [Qemu-devel] [PATCH v8 07/11] migration: add bitmap for copied page

2017-06-12 Thread Alexey Perevalov
On 06/13/2017 08:59 AM, Peter Xu wrote: On Wed, Jun 07, 2017 at 12:46:34PM +0300, Alexey Perevalov wrote: This patch adds ability to track down already copied pages, it's necessary for calculation vCPU block time in postcopy migration feature, maybe for restore after postcopy migration failure.

Re: [Qemu-devel] [PATCH v8 07/11] migration: add bitmap for copied page

2017-06-12 Thread Peter Xu
On Wed, Jun 07, 2017 at 12:46:34PM +0300, Alexey Perevalov wrote: > This patch adds ability to track down already copied > pages, it's necessary for calculation vCPU block time in > postcopy migration feature, maybe for restore after > postcopy migration failure. > Also it's necessary to solve shar

Re: [Qemu-devel] [PATCH v8 07/11] migration: add bitmap for copied page

2017-06-12 Thread Dr. David Alan Gilbert
* Alexey Perevalov (a.pereva...@samsung.com) wrote: > This patch adds ability to track down already copied > pages, it's necessary for calculation vCPU block time in > postcopy migration feature, maybe for restore after > postcopy migration failure. > Also it's necessary to solve shared memory issu

Re: [Qemu-devel] [PATCH v8 07/11] migration: add bitmap for copied page

2017-06-09 Thread Alexey Perevalov
On 06/09/2017 09:06 AM, Peter Xu wrote: On Wed, Jun 07, 2017 at 05:13:00PM +0300, Alexey Perevalov wrote: On 06/07/2017 12:46 PM, Alexey Perevalov wrote: This patch adds ability to track down already copied pages, it's necessary for calculation vCPU block time in postcopy migration feature, may

Re: [Qemu-devel] [PATCH v8 07/11] migration: add bitmap for copied page

2017-06-08 Thread Peter Xu
On Wed, Jun 07, 2017 at 05:13:00PM +0300, Alexey Perevalov wrote: > On 06/07/2017 12:46 PM, Alexey Perevalov wrote: > >This patch adds ability to track down already copied > >pages, it's necessary for calculation vCPU block time in > >postcopy migration feature, maybe for restore after > >postcopy

Re: [Qemu-devel] [PATCH v8 07/11] migration: add bitmap for copied page

2017-06-07 Thread Alexey Perevalov
On 06/07/2017 03:56 PM, Juan Quintela wrote: Alexey Perevalov wrote: +static unsigned long get_copiedmap_size(RAMBlock *rb) +{ +unsigned long pages; +pages = rb->max_length >> find_first_bit((unsigned long *)&rb->page_size, + sizeof(rb->page_

Re: [Qemu-devel] [PATCH v8 07/11] migration: add bitmap for copied page

2017-06-07 Thread Alexey Perevalov
On 06/07/2017 12:46 PM, Alexey Perevalov wrote: This patch adds ability to track down already copied pages, it's necessary for calculation vCPU block time in postcopy migration feature, maybe for restore after postcopy migration failure. Also it's necessary to solve shared memory issue in postcop

Re: [Qemu-devel] [PATCH v8 07/11] migration: add bitmap for copied page

2017-06-07 Thread Juan Quintela
Alexey Perevalov wrote: > +static unsigned long get_copiedmap_size(RAMBlock *rb) > +{ > +unsigned long pages; > +pages = rb->max_length >> find_first_bit((unsigned long *)&rb->page_size, > + sizeof(rb->page_size)); > +return pages; Are you

[Qemu-devel] [PATCH v8 07/11] migration: add bitmap for copied page

2017-06-07 Thread Alexey Perevalov
This patch adds ability to track down already copied pages, it's necessary for calculation vCPU block time in postcopy migration feature, maybe for restore after postcopy migration failure. Also it's necessary to solve shared memory issue in postcopy livemigration. Information about copied pages wi