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 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fsQH0-0005BE-Ea for qemu-devel@nongnu.org; Wed, 22 Aug 2018 06:21:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fsQGs-0005DH-L6 for qemu-devel@nongnu.org; Wed, 22 Aug 2018 06:21:57 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:39536 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fsQGq-0005AJ-Js for qemu-devel@nongnu.org; Wed, 22 Aug 2018 06:21:50 -0400 From: Juan Quintela In-Reply-To: <20180821081029.26121-4-xiaoguangrong@tencent.com> (guangrong xiao's message of "Tue, 21 Aug 2018 16:10:22 +0800") References: <20180821081029.26121-1-xiaoguangrong@tencent.com> <20180821081029.26121-4-xiaoguangrong@tencent.com> Reply-To: quintela@redhat.com Date: Wed, 22 Aug 2018 12:21:37 +0200 Message-ID: <87in424s7i.fsf@trasno.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v4 03/10] migration: introduce save_zero_page_to_file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: guangrong.xiao@gmail.com Cc: pbonzini@redhat.com, mst@redhat.com, mtosatti@redhat.com, kvm@vger.kernel.org, Xiao Guangrong , qemu-devel@nongnu.org, peterx@redhat.com, dgilbert@redhat.com, wei.w.wang@intel.com, jiang.biao2@zte.com.cn 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