This function is needed by libqblock linkage, so add it.
Signed-off-by: Wenchao Xia <[email protected]>
---
stubs/set-fd-handler.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
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();
+}
--
1.7.1