Re: [Qemu-devel] [PATCH] block: quiesce AioContext when detaching from it

2017-03-15 Thread Max Reitz
On 14.03.2017 12:11, Paolo Bonzini wrote: > While it is true that bdrv_set_aio_context only works on a single > BlockDriverState subtree (see commit message for 53ec73e, "block: Use > bdrv_drain to replace uncessary bdrv_drain_all", 2015-07-07), it works > at the AioContext level rather than the Bl

Re: [Qemu-devel] [PATCH] block: quiesce AioContext when detaching from it

2017-03-14 Thread Eric Blake
On 03/14/2017 06:11 AM, Paolo Bonzini wrote: > While it is true that bdrv_set_aio_context only works on a single > BlockDriverState subtree (see commit message for 53ec73e, "block: Use > bdrv_drain to replace uncessary bdrv_drain_all", 2015-07-07), it works I was about to correct the typo, but see

[Qemu-devel] [PATCH] block: quiesce AioContext when detaching from it

2017-03-14 Thread Paolo Bonzini
While it is true that bdrv_set_aio_context only works on a single BlockDriverState subtree (see commit message for 53ec73e, "block: Use bdrv_drain to replace uncessary bdrv_drain_all", 2015-07-07), it works at the AioContext level rather than the BlockDriverState level. Therefore, it is also neces