commit | c2f3426c9bba0195b15a919587f794b110a2dcfc | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@redhat.com> | Thu May 08 16:34:47 2014 +0200 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Wed Jun 04 09:56:11 2014 +0200 |
tree | 8d3925475b69cbf07749e59a813288cd9b5e0276 | |
parent | e3625d3d6ae8029fc20262ac3848421ec281446f [diff] |
block/raw-posix: implement .bdrv_detach/attach_aio_context() Drop the assumption that we're using the main AioContext for Linux AIO. Convert the Linux AIO event notifier to use aio_set_event_notifier(). The .bdrv_detach/attach_aio_context() interfaces also need to be implemented to move the event notifier handler from the old to the new AioContext. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>