diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-05-08 16:34:44 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-06-04 09:56:11 +0200 |
commit | 471799d135a45b5a09f43bc103b5eb710548bb87 (patch) | |
tree | 7bb3deb94f1f29f661e6d124473e8925c36c274d /qapi | |
parent | 69447cd8f361dbb6c752bd18b15322d27493ca91 (diff) |
nfs: implement .bdrv_detach/attach_aio_context()
Drop the assumption that we're using the main AioContext. The following
functions need to be converted:
* qemu_bh_new() -> aio_bh_new()
* qemu_aio_set_fd_handler() -> aio_set_fd_handler()
* qemu_aio_wait() -> aio_poll()
The .bdrv_detach/attach_aio_context() interfaces also need to be
implemented to move the fd handler from the old to the new AioContext.
Cc: Peter Lieven <pl@kamp.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Peter Lieven <pl@kamp.de>
Diffstat (limited to 'qapi')
0 files changed, 0 insertions, 0 deletions