aboutsummaryrefslogtreecommitdiff
path: root/stubs
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2015-06-04 14:45:12 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2015-06-12 13:26:20 +0100
commit0bc12c4f7e8b5ff0f83908bdef0c247f1ca1a9d8 (patch)
treeade02feb56048ed4ba7909aa6c97ea668bc41872 /stubs
parentd8e3b729cf452d2689c8669f1ec18158db29fd5a (diff)
downloadqemu-arm-0bc12c4f7e8b5ff0f83908bdef0c247f1ca1a9d8.tar.gz
stubs: Add qemu_set_fd_handler
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 <famz@redhat.com> Message-id: 1433400324-7358-2-git-send-email-famz@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'stubs')
-rw-r--r--stubs/set-fd-handler.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/stubs/set-fd-handler.c b/stubs/set-fd-handler.c
index fc874d33fe..25cca8c433 100644
--- a/stubs/set-fd-handler.c
+++ b/stubs/set-fd-handler.c
@@ -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,