From bcd82a968fbf7d8156eefbae3f3aab59ad576fa2 Mon Sep 17 00:00:00 2001 From: Fam Zheng Date: Fri, 22 Apr 2016 21:53:52 +0800 Subject: iohandler: Introduce iohandler_get_aio_context Signed-off-by: Fam Zheng Reviewed-by: Michael S. Tsirkin Signed-off-by: Kevin Wolf --- include/qemu/main-loop.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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. -- cgit v1.2.3