Re: [Qemu-devel] [PATCH v2 3/3] nbd: Follow the BDS' AIO context

2014-06-18 Thread Stefan Hajnoczi
On Wed, Jun 18, 2014 at 09:06:43PM +0200, Max Reitz wrote: > Keep the NBD server always in the same AIO context as the exported BDS > by calling bdrv_add_aio_context_notifier() and implementing the required > callbacks. > > Signed-off-by: Max Reitz > --- > nbd.c | 31

[Qemu-devel] [PATCH v2 3/3] nbd: Follow the BDS' AIO context

2014-06-18 Thread Max Reitz
Keep the NBD server always in the same AIO context as the exported BDS by calling bdrv_add_aio_context_notifier() and implementing the required callbacks. Signed-off-by: Max Reitz --- nbd.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/nbd.c b/nbd.c index 2