summary refs log tree commit diff stats
path: root/include/qemu
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2016-04-22 21:53:52 +0800
committerKevin Wolf <kwolf@redhat.com>2016-04-22 16:43:42 +0200
commitbcd82a968fbf7d8156eefbae3f3aab59ad576fa2 (patch)
tree02800cce1b1c71a844b5e501fb968b189c3ac89a /include/qemu
parentee1e0f8e5d3682c561edcdceccff72b9d9b16d8b (diff)
downloadfocaccia-qemu-bcd82a968fbf7d8156eefbae3f3aab59ad576fa2.tar.gz
focaccia-qemu-bcd82a968fbf7d8156eefbae3f3aab59ad576fa2.zip
iohandler: Introduce iohandler_get_aio_context
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/qemu')
-rw-r--r--include/qemu/main-loop.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu/main-loop.h b/include/qemu/main-loop.h
index 99769093fc..19b5de3dd5 100644
--- a/include/qemu/main-loop.h
+++ b/include/qemu/main-loop.h
@@ -204,6 +204,7 @@ void qemu_set_fd_handler(int fd,
                          void *opaque);
 
 GSource *iohandler_get_g_source(void);
+AioContext *iohandler_get_aio_context(void);
 #ifdef CONFIG_POSIX
 /**
  * qemu_add_child_watch: Register a child process for reaping.