Re: [Qemu-devel] [PATCH 09/11] block: let mirror blockjob run in BDS AioContext

2014-10-04 Thread Max Reitz
On 01.10.2014 19:01, Stefan Hajnoczi wrote: The mirror block job must run in the BlockDriverState AioContext so that it works with dataplane. Acquire the AioContext in blockdev.c so starting the block job is safe. Note that to_replace is treated separately from other BlockDriverStates in that

[Qemu-devel] [PATCH 09/11] block: let mirror blockjob run in BDS AioContext

2014-10-01 Thread Stefan Hajnoczi
The mirror block job must run in the BlockDriverState AioContext so that it works with dataplane. Acquire the AioContext in blockdev.c so starting the block job is safe. Note that to_replace is treated separately from other BlockDriverStates in that it does not need to be in the same AioContext.