diff options
author | Fam Zheng <famz@redhat.com> | 2016-04-22 21:53:52 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-04-22 16:43:42 +0200 |
commit | bcd82a968fbf7d8156eefbae3f3aab59ad576fa2 (patch) | |
tree | 02800cce1b1c71a844b5e501fb968b189c3ac89a /stubs | |
parent | ee1e0f8e5d3682c561edcdceccff72b9d9b16d8b (diff) |
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 'stubs')
-rw-r--r-- | stubs/Makefile.objs | 1 | ||||
-rw-r--r-- | stubs/iohandler.c | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs index b6d1e650db..4b258a6731 100644 --- a/stubs/Makefile.objs +++ b/stubs/Makefile.objs @@ -40,3 +40,4 @@ stub-obj-y += qmp_pc_dimm_device_list.o stub-obj-y += target-monitor-defs.o stub-obj-y += target-get-monitor-def.o stub-obj-y += vhost.o +stub-obj-y += iohandler.o diff --git a/stubs/iohandler.c b/stubs/iohandler.c new file mode 100644 index 0000000000..22b0ee5b0a --- /dev/null +++ b/stubs/iohandler.c @@ -0,0 +1,8 @@ +#include "qemu/osdep.h" +#include "qemu-common.h" +#include "qemu/main-loop.h" + +AioContext *iohandler_get_aio_context(void) +{ + abort(); +} |