Home
last modified time | relevance | path

Searched hist:"69447 cd8" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/block/
H A Dnbd.c69447cd8 Thu May 08 09:34:43 CDT 2014 Stefan Hajnoczi <stefanha@redhat.com> nbd: implement .bdrv_detach/attach_aio_context()

Drop the assumption that we're using the main AioContext. Convert
qemu_aio_set_fd_handler() calls to aio_set_fd_handler().

The .bdrv_detach/attach_aio_context() interfaces also need to be
implemented to move the socket fd handler from the old to the new
AioContext.

Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>