Re: [Qemu-devel] [PATCH v1 10/17] background snapshots: adapt the page queueing code for using page copies

2018-07-20 Thread Peter Xu
On Wed, Jul 18, 2018 at 06:41:53PM +0300, Denis Plotnikov wrote: [...] > @@ -1003,13 +1008,18 @@ static int ram_save_page(RAMState *rs, > PageSearchStatus *pss, bool last_stage) > } else { > pages = save_zero_page(rs, block, offset, p); Now save_zero_page() is not called by

Re: [Qemu-devel] [PATCH v1 10/17] background snapshots: adapt the page queueing code for using page copies

2018-07-20 Thread Peter Xu
On Wed, Jul 18, 2018 at 06:41:53PM +0300, Denis Plotnikov wrote: > The background snapshot uses memeory page copying to seal the page > memory content. The patch adapts the migration infrastructure to save > copies of the pages. Again, since previous page only defined some fields that are firstly

[Qemu-devel] [PATCH v1 10/17] background snapshots: adapt the page queueing code for using page copies

2018-07-18 Thread Denis Plotnikov
The background snapshot uses memeory page copying to seal the page memory content. The patch adapts the migration infrastructure to save copies of the pages. Signed-off-by: Denis Plotnikov --- migration/migration.c | 2 +- migration/ram.c | 59 ---