[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 01/13] stubs: Add qemu_set_fd_handler
From: |
Fam Zheng |
Subject: |
[Qemu-devel] [PATCH v4 01/13] stubs: Add qemu_set_fd_handler |
Date: |
Thu, 4 Jun 2015 14:45:12 +0800 |
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 <address@hidden>
---
stubs/set-fd-handler.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/stubs/set-fd-handler.c b/stubs/set-fd-handler.c
index fc874d3..25cca8c 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,
--
2.4.2
- [Qemu-devel] [PATCH v4 00/13] main-loop: Get rid of fd_read_poll and qemu_set_fd_handler2, Fam Zheng, 2015/06/04
- [Qemu-devel] [PATCH v4 01/13] stubs: Add qemu_set_fd_handler,
Fam Zheng <=
- [Qemu-devel] [PATCH v4 02/13] qemu-nbd: Switch to qemu_set_fd_handler, Fam Zheng, 2015/06/04
- [Qemu-devel] [PATCH v4 03/13] l2tpv3: Drop l2tpv3_can_send, Fam Zheng, 2015/06/04
- [Qemu-devel] [PATCH v4 04/13] netmap: Drop netmap_can_send, Fam Zheng, 2015/06/04
- [Qemu-devel] [PATCH v4 05/13] net/socket: Drop net_socket_can_send, Fam Zheng, 2015/06/04
- [Qemu-devel] [PATCH v4 06/13] tap: Drop tap_can_send, Fam Zheng, 2015/06/04
- [Qemu-devel] [PATCH v4 07/13] Change qemu_set_fd_handler2(..., NULL, ...) to qemu_set_fd_handler, Fam Zheng, 2015/06/04
- [Qemu-devel] [PATCH v4 08/13] main-loop: Drop qemu_set_fd_handler2, Fam Zheng, 2015/06/04
- [Qemu-devel] [PATCH v4 09/13] alsaaudio: Remove unused error handling of qemu_set_fd_handler, Fam Zheng, 2015/06/04
- [Qemu-devel] [PATCH v4 10/13] oss: Remove unused error handling of qemu_set_fd_handler, Fam Zheng, 2015/06/04
- [Qemu-devel] [PATCH v4 11/13] xen_backend: Remove unused error handling of qemu_set_fd_handler, Fam Zheng, 2015/06/04