diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-05-08 16:34:42 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-06-04 09:56:11 +0200 |
commit | 80cf6257668ec78537b02af44e059bdc46c30416 (patch) | |
tree | b130699483cf213496dac3bd38fc4da485369553 /block/nbd-client.h | |
parent | 6ee50af24b1478452fbbfc1cd8d78227c0e91cde (diff) |
iscsi: implement .bdrv_detach/attach_aio_context()
Drop the assumption that we're using the main AioContext for Linux
AIO. Convert qemu_aio_set_fd_handler() to aio_set_fd_handler() and
timer_new_ms() to aio_timer_new().
The .bdrv_detach/attach_aio_context() interfaces also need to be
implemented to move the fd and timer from the old to the new AioContext.
Cc: Peter Lieven <pl@kamp.de>
Cc: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Peter Lieven <pl@kamp.de>
Diffstat (limited to 'block/nbd-client.h')
0 files changed, 0 insertions, 0 deletions