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

2020-09-22 Thread Li Zhijian
On 9/22/20 5:24 PM, 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 --- migration/ra

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

2020-09-22 Thread Zhang, Chen
t: [PATCH v2 2/3] Reduce the time of checkpoint for COLO > > 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

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

2020-09-22 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 | 14 +- 1 file changed,