Re: [Qemu-devel] [RFC] introduce bitmap to bdrv_commit to track dirty sector

2015-03-09 Thread Fam Zheng
On Mon, 03/09 16:14, Zhang Haoyu wrote: > 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

Re: [Qemu-devel] [RFC] introduce bitmap to bdrv_commit to track dirty sector

2015-03-09 Thread Zhang Haoyu
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

Re: [Qemu-devel] [RFC] introduce bitmap to bdrv_commit to track dirty sector

2015-03-09 Thread Paolo Bonzini
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 alread

Re: [Qemu-devel] [RFC] introduce bitmap to bdrv_commit to track dirty sector

2015-03-09 Thread Zhang Haoyu
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 imple

Re: [Qemu-devel] [RFC] introduce bitmap to bdrv_commit to track dirty sector

2015-03-03 Thread Paolo Bonzini
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). Paolo

[Qemu-devel] [RFC] introduce bitmap to bdrv_commit to track dirty sector

2015-03-02 Thread Zhang Haoyu
Hi, If introducing bitmap to bdrv_commit to track dirty sector, could we implement guest non-disruption while performing commit? Thanks, Zhang Haoyu