summaryrefslogtreecommitdiffstats
path: root/qemu/stubs/set-fd-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/stubs/set-fd-handler.c')
-rw-r--r--qemu/stubs/set-fd-handler.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/qemu/stubs/set-fd-handler.c b/qemu/stubs/set-fd-handler.c
index a8481bc3c..06a5da48f 100644
--- a/qemu/stubs/set-fd-handler.c
+++ b/qemu/stubs/set-fd-handler.c
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/main-loop.h"
@@ -8,3 +9,13 @@ void qemu_set_fd_handler(int fd,
{
abort();
}
+
+void aio_set_fd_handler(AioContext *ctx,
+ int fd,
+ bool is_external,
+ IOHandler *io_read,
+ IOHandler *io_write,
+ void *opaque)
+{
+ abort();
+}