[Qemu-block] [PATCH 1/4] io/channel: add qio_channel_get_attached_aio_context()

2019-02-11 Thread Vladimir Sementsov-Ogievskiy
Expose attached aio context. It will be used in nbd code, to understand, in which aio context negotiation should be done. Signed-off-by: Vladimir Sementsov-Ogievskiy --- include/io/channel.h | 9 + io/channel.c | 5 + 2 files changed, 14 insertions(+) diff --git a/include/io

Re: [Qemu-block] [PATCH 1/4] io/channel: add qio_channel_get_attached_aio_context()

2019-02-11 Thread Eric Blake
On 2/11/19 6:55 AM, Vladimir Sementsov-Ogievskiy wrote: > Expose attached aio context. It will be used in nbd code, to > understand, in which aio context negotiation should be done. s/, in/ in/ > > Signed-off-by: Vladimir Sementsov-Ogievskiy > --- > include/io/channel.h | 9 + > io/cha

Re: [Qemu-block] [PATCH 1/4] io/channel: add qio_channel_get_attached_aio_context()

2019-02-12 Thread Daniel P . Berrangé
On Mon, Feb 11, 2019 at 03:55:58PM +0300, Vladimir Sementsov-Ogievskiy wrote: > Expose attached aio context. It will be used in nbd code, to > understand, in which aio context negotiation should be done. I'm not especially objecting to the idea of adding the API to the QIOChannel class, but I'm su

Re: [Qemu-block] [PATCH 1/4] io/channel: add qio_channel_get_attached_aio_context()

2019-02-19 Thread Vladimir Sementsov-Ogievskiy
12.02.2019 13:33, Daniel P. Berrangé wrote: > On Mon, Feb 11, 2019 at 03:55:58PM +0300, Vladimir Sementsov-Ogievskiy wrote: >> Expose attached aio context. It will be used in nbd code, to >> understand, in which aio context negotiation should be done. > > I'm not especially objecting to the idea o