guangrong.x...@gmail.com wrote: > From: Xiao Guangrong <xiaoguangr...@tencent.com> > > It will be used by the compression threads > > Reviewed-by: Peter Xu <pet...@redhat.com>
Reviewed-by: Juan Quintela <quint...@redhat.com> > Signed-off-by: Xiao Guangrong <xiaoguangr...@tencent.com> > --- > migration/ram.c | 40 ++++++++++++++++++++++++++++++---------- > 1 file changed, 30 insertions(+), 10 deletions(-) > > diff --git a/migration/ram.c b/migration/ram.c > index d631b9a6fe..49ace30614 100644 > --- a/migration/ram.c > +++ b/migration/ram.c > @@ -1667,27 +1667,47 @@ static void migration_bitmap_sync(RAMState *rs) > /** > * save_zero_page: send the zero page to the stream Fixed by hand, should be save_zero_page_to_file