Re: [Qemu-devel] [RFC PATCH 0/3] Point-in-time snapshot exporting with drive-backup

2013-06-27 Thread Stefan Hajnoczi
On Thu, Jun 27, 2013 at 12:06:44PM +0200, Paolo Bonzini wrote: > Il 27/06/2013 10:17, Stefan Hajnoczi ha scritto: > >>> > > Il 26/06/2013 05:59, Fam Zheng ha scritto: > >>> > > This leads to another observation: a sync:'none' block-backup job > >>> > > probably should never complete, and should ins

Re: [Qemu-devel] [RFC PATCH 0/3] Point-in-time snapshot exporting with drive-backup

2013-06-27 Thread Paolo Bonzini
Il 27/06/2013 10:17, Stefan Hajnoczi ha scritto: >>> > > Il 26/06/2013 05:59, Fam Zheng ha scritto: >>> > > This leads to another observation: a sync:'none' block-backup job >>> > > probably should never complete, and should instead go on until explicit >>> > > cancellation. This is because the jo

Re: [Qemu-devel] [RFC PATCH 0/3] Point-in-time snapshot exporting with drive-backup

2013-06-27 Thread Stefan Hajnoczi
On Wed, Jun 26, 2013 at 03:31:19PM +0800, Fam Zheng wrote: > On Wed, 06/26 09:23, Paolo Bonzini wrote: > > Il 26/06/2013 05:59, Fam Zheng ha scritto: > > This leads to another observation: a sync:'none' block-backup job > > probably should never complete, and should instead go on until explicit > >

Re: [Qemu-devel] [RFC PATCH 0/3] Point-in-time snapshot exporting with drive-backup

2013-06-26 Thread Fam Zheng
On Wed, 06/26 09:23, Paolo Bonzini wrote: > Il 26/06/2013 05:59, Fam Zheng ha scritto: > > > > The block job originally had total control over target bs: when the job > > completes, the target is deleted. Now it's shared with NBD, so we should > > make > > sure the job completion or canceling wou

Re: [Qemu-devel] [RFC PATCH 0/3] Point-in-time snapshot exporting with drive-backup

2013-06-26 Thread Paolo Bonzini
Il 26/06/2013 05:59, Fam Zheng ha scritto: > > The block job originally had total control over target bs: when the job > completes, the target is deleted. Now it's shared with NBD, so we should make > sure the job completion or canceling wouldn't crash NBD server. This patch > doesn't handle this

[Qemu-devel] [RFC PATCH 0/3] Point-in-time snapshot exporting with drive-backup

2013-06-25 Thread Fam Zheng
This series adds partial support for point-in-time snapshot NBD exporting based on drive-backup. The ideas is described below and patches followed (the missing part is item 3, which work is in progress by Ian Main and will have another patch on it). As the work does not overlap, these series should