Patchwork [V12,3/7] stubs add function qemu_set_fd_handler

login
register
mail settings
Submitter Wayne Xia
Date Nov. 28, 2012, 8:55 a.m.
Message ID <1354092935-6508-4-git-send-email-xiawenc@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/202421/
State New
Headers show

Comments

Wayne Xia - Nov. 28, 2012, 8:55 a.m.
This function is needed by libqblock linkage, so add it.

Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
---
 stubs/set-fd-handler.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

Patch

diff --git a/stubs/set-fd-handler.c b/stubs/set-fd-handler.c
index 4807b5d..7b4ca4f 100644
--- a/stubs/set-fd-handler.c
+++ b/stubs/set-fd-handler.c
@@ -9,3 +9,11 @@  int qemu_set_fd_handler2(int fd,
 {
     abort();
 }
+
+int qemu_set_fd_handler(int fd,
+                        IOHandler *fd_read,
+                        IOHandler *fd_write,
+                        void *opaque)
+{
+    abort();
+}