]> git.proxmox.com Git - mirror_qemu.git/commit - nbd/server.c
nbd: Follow the BDS' AIO context
authorMax Reitz <mreitz@redhat.com>
Fri, 20 Jun 2014 19:57:34 +0000 (21:57 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 29 Aug 2014 09:48:45 +0000 (10:48 +0100)
commitf21492817bc426a3bc0b98fa852df95be9dea1e8
tree523350e7c44adc029407c27e6fa3069508e2586d
parent33384421b3abe74555baeaf788b17204cd8c6080
nbd: Follow the BDS' AIO context

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 <mreitz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
nbd.c