]> Git Repo - qemu.git/commitdiff
stubs: Add qemu_set_fd_handler
authorFam Zheng <[email protected]>
Thu, 4 Jun 2015 06:45:12 +0000 (14:45 +0800)
committerStefan Hajnoczi <[email protected]>
Fri, 12 Jun 2015 12:26:20 +0000 (13:26 +0100)
Some qemu_set_fd_handler2 stub callers will be converted to
call qemu_set_fd_handler, add this stub for them before making the
change.

Signed-off-by: Fam Zheng <[email protected]>
Message-id: 1433400324[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
stubs/set-fd-handler.c

index fc874d33fe71b1a3d2c87b0acfe6ae732f76e51c..25cca8c4337bfc2c8e7acbf77c2db7c66196df0d 100644 (file)
@@ -1,6 +1,14 @@
 #include "qemu-common.h"
 #include "qemu/main-loop.h"
 
+int qemu_set_fd_handler(int fd,
+                        IOHandler *fd_read,
+                        IOHandler *fd_write,
+                        void *opaque)
+{
+    abort();
+}
+
 int qemu_set_fd_handler2(int fd,
                          IOCanReadHandler *fd_read_poll,
                          IOHandler *fd_read,
This page took 0.023304 seconds and 4 git commands to generate.