From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juan Quintela Subject: Re: [PATCH v4 03/10] migration: introduce save_zero_page_to_file Date: Wed, 22 Aug 2018 12:21:37 +0200 Message-ID: <87in424s7i.fsf@trasno.org> References: <20180821081029.26121-1-xiaoguangrong@tencent.com> <20180821081029.26121-4-xiaoguangrong@tencent.com> Reply-To: quintela@redhat.com Mime-Version: 1.0 Content-Type: text/plain Cc: kvm@vger.kernel.org, mst@redhat.com, mtosatti@redhat.com, Xiao Guangrong , qemu-devel@nongnu.org, peterx@redhat.com, dgilbert@redhat.com, wei.w.wang@intel.com, jiang.biao2@zte.com.cn, pbonzini@redhat.com To: guangrong.xiao@gmail.com Return-path: In-Reply-To: <20180821081029.26121-4-xiaoguangrong@tencent.com> (guangrong xiao's message of "Tue, 21 Aug 2018 16:10:22 +0800") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel2=m.gmane.org@nongnu.org Sender: "Qemu-devel" List-Id: kvm.vger.kernel.org guangrong.xiao@gmail.com wrote: > From: Xiao Guangrong > > It will be used by the compression threads > > Reviewed-by: Peter Xu Reviewed-by: Juan Quintela > Signed-off-by: Xiao Guangrong > --- > 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