Re: [Qemu-devel] [Qemu-block] [PATCH v2 06/16] backup: Request BLK_PERM_AIO_CONTEXT_CHANGE on target

2017-06-05 Thread Fam Zheng
On Thu, 06/01 14:26, Stefan Hajnoczi wrote: > On Wed, May 31, 2017 at 05:57:46PM +0800, Fam Zheng wrote: > > On Wed, 05/31 10:39, Stefan Hajnoczi wrote: > > > On Wed, May 24, 2017 at 10:18:44AM +0800, Fam Zheng wrote: > > > > On Thu, 05/11 15:41, Stefan Hajnoczi wrote: > > > > > On Wed, Apr 19, 201

Re: [Qemu-devel] [Qemu-block] [PATCH v2 06/16] backup: Request BLK_PERM_AIO_CONTEXT_CHANGE on target

2017-06-01 Thread Stefan Hajnoczi
On Wed, May 31, 2017 at 05:57:46PM +0800, Fam Zheng wrote: > On Wed, 05/31 10:39, Stefan Hajnoczi wrote: > > On Wed, May 24, 2017 at 10:18:44AM +0800, Fam Zheng wrote: > > > On Thu, 05/11 15:41, Stefan Hajnoczi wrote: > > > > On Wed, Apr 19, 2017 at 05:43:46PM +0800, Fam Zheng wrote: > > > > > What

Re: [Qemu-devel] [Qemu-block] [PATCH v2 06/16] backup: Request BLK_PERM_AIO_CONTEXT_CHANGE on target

2017-05-31 Thread Fam Zheng
On Wed, 05/31 10:39, Stefan Hajnoczi wrote: > On Wed, May 24, 2017 at 10:18:44AM +0800, Fam Zheng wrote: > > On Thu, 05/11 15:41, Stefan Hajnoczi wrote: > > > On Wed, Apr 19, 2017 at 05:43:46PM +0800, Fam Zheng wrote: > > > > What's done in the source's context change notifier is moving the > > > >

Re: [Qemu-devel] [Qemu-block] [PATCH v2 06/16] backup: Request BLK_PERM_AIO_CONTEXT_CHANGE on target

2017-05-31 Thread Stefan Hajnoczi
On Wed, May 24, 2017 at 10:18:44AM +0800, Fam Zheng wrote: > On Thu, 05/11 15:41, Stefan Hajnoczi wrote: > > On Wed, Apr 19, 2017 at 05:43:46PM +0800, Fam Zheng wrote: > > > What's done in the source's context change notifier is moving the > > > target's context to follow the new one, so we request

Re: [Qemu-devel] [Qemu-block] [PATCH v2 06/16] backup: Request BLK_PERM_AIO_CONTEXT_CHANGE on target

2017-05-23 Thread Fam Zheng
On Thu, 05/11 15:41, Stefan Hajnoczi wrote: > On Wed, Apr 19, 2017 at 05:43:46PM +0800, Fam Zheng wrote: > > What's done in the source's context change notifier is moving the > > target's context to follow the new one, so we request this permission > > here. > > It's true that the backup block job

Re: [Qemu-devel] [Qemu-block] [PATCH v2 06/16] backup: Request BLK_PERM_AIO_CONTEXT_CHANGE on target

2017-05-11 Thread Stefan Hajnoczi
On Wed, Apr 19, 2017 at 05:43:46PM +0800, Fam Zheng wrote: > What's done in the source's context change notifier is moving the > target's context to follow the new one, so we request this permission > here. It's true that the backup block job must be able to set target's AioContext, but does this