RE: [PATCH 2/3] Reduce the time of checkpoint for COLO

2020-09-22 Thread Rao, Lei
Got it. It looks more reasonable. Will be changed in V2. Thanks, Lei. -Original Message- From: Li Zhijian Sent: Tuesday, September 22, 2020 2:58 PM To: Rao, Lei ; Zhang, Chen ; jasow...@redhat.com; quint...@redhat.com; dgilb...@redhat.com; pbonz...@redhat.com Cc:

Re: [PATCH 2/3] Reduce the time of checkpoint for COLO

2020-09-22 Thread Li Zhijian
On 9/19/20 11:10 AM, leirao wrote: we should set ram_bulk_stage to false after ram_state_init, otherwise the bitmap will be unused in migration_bitmap_find_dirty. all pages in ram cache will be flushed to the ram of secondary guest for each checkpoint. Signed-off-by: leirao ---

[PATCH 2/3] Reduce the time of checkpoint for COLO

2020-09-19 Thread leirao
we should set ram_bulk_stage to false after ram_state_init, otherwise the bitmap will be unused in migration_bitmap_find_dirty. all pages in ram cache will be flushed to the ram of secondary guest for each checkpoint. Signed-off-by: leirao --- migration/ram.c | 12 1 file changed,