Re: [Qemu-devel] [PATCH 1/1] block-backend: simplify blk_get_aio_context

2018-04-09 Thread Kevin Wolf
Am 27.03.2018 um 15:08 hat Daniel Henrique Barboza geschrieben: > blk_get_aio_context verifies if BlockDriverState bs is not NULL, > return bdrv_get_aio_context(bs) if true or qemu_get_aio_context() > otherwise. However, bdrv_get_aio_context from block.c already does > this verification itself, als

Re: [Qemu-devel] [PATCH 1/1] block-backend: simplify blk_get_aio_context

2018-04-04 Thread Daniel Henrique Barboza
Ping On 03/27/2018 10:08 AM, Daniel Henrique Barboza wrote: blk_get_aio_context verifies if BlockDriverState bs is not NULL, return bdrv_get_aio_context(bs) if true or qemu_get_aio_context() otherwise. However, bdrv_get_aio_context from block.c already does this verification itself, also returni

Re: [Qemu-devel] [PATCH 1/1] block-backend: simplify blk_get_aio_context

2018-03-27 Thread Darren Kenny
On Tue, Mar 27, 2018 at 10:08:46AM -0300, Daniel Henrique Barboza wrote: blk_get_aio_context verifies if BlockDriverState bs is not NULL, return bdrv_get_aio_context(bs) if true or qemu_get_aio_context() otherwise. However, bdrv_get_aio_context from block.c already does this verification itself,

[Qemu-devel] [PATCH 1/1] block-backend: simplify blk_get_aio_context

2018-03-27 Thread Daniel Henrique Barboza
blk_get_aio_context verifies if BlockDriverState bs is not NULL, return bdrv_get_aio_context(bs) if true or qemu_get_aio_context() otherwise. However, bdrv_get_aio_context from block.c already does this verification itself, also returning qemu_get_aio_context() if bs is NULL: AioContext *bdrv_get_