diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-05-08 16:34:52 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-06-04 09:56:12 +0200 |
commit | 84390bed59f5a8ead499c4501f54c9b8a747c9d4 (patch) | |
tree | d3ab907bb24e4a95b9ed6ac9ab564ec39281b02a /block/ssh.c | |
parent | ea8001914924331549e9b876bcaeac2dc80db2b6 (diff) |
sheepdog: implement .bdrv_detach/attach_aio_context()
Drop the assumption that we're using the main AioContext. Convert
qemu_aio_set_fd_handler() to aio_set_fd_handler() and qemu_aio_wait() to
aio_poll().
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.
Cc: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Acked-by: Liu Yuan <namei.unix@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/ssh.c')
0 files changed, 0 insertions, 0 deletions