Received: from eggs.gnu.org ([2001:4830:134:3::10]:48246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUspt-00035O-JQ for qemu-devel@nongnu.org; Mon, 09 Mar 2015 04:14:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUspo-0003L9-Eu for qemu-devel@nongnu.org; Mon, 09 Mar 2015 04:14:49 -0400 Received: from smtp.sangfor.com.cn ([58.251.49.30]:55932 helo=mail.sangfor.com.cn) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUspn-0003J5-KM for qemu-devel@nongnu.org; Mon, 09 Mar 2015 04:14:44 -0400 Date: Mon, 9 Mar 2015 16:14:38 +0800 From: "Zhang Haoyu" References: <201503031452510425241@sangfor.com.cn>, <54F58618.6050200@redhat.com>, <201503091502590266464@sangfor.com.cn> Message-ID: <201503091614373394821@sangfor.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] introduce bitmap to bdrv_commit to track dirty sector List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel , jsnow , vsementsov Cc: Kevin Wolf , Marcelo Tosatti , Fam Zheng , Stefan Hajnoczi Hi John, Vladimir We can using active block commit to implement incremental backup without guest disruption, e.g., origin <= A <= B <= C <= current BDS, a new external snapshot will be produced before every time backup, we can migrate A, B, C, ... to destination, then commit_active_start() the unneeded snapshot in source or destination end. So, comparing with above mechanism, what's the advantages of the incremental backup implemented by John and Vladimir? Thanks, Zhang Haoyu On 2015-03-09 15:38:40, Paolo Bonzini wrote: > >On 09/03/2015 08:03, Zhang Haoyu wrote: >> >> On 2015-03-03 18:00:09, Paolo Bonzini wrote: >>> >>> On 03/03/2015 07:52, Zhang Haoyu wrote: >>>> Hi, >>>> If introducing bitmap to bdrv_commit to track dirty sector, >>>> could we implement guest non-disruption while performing commit? >>> >>> That is already implemented. It uses the same code that implements >>> storage migration (block/mirror.c). >>> >> Hi Paolo, >> do you mean commit_active_start()? > >Yes. > >Paolo