From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuXdF-0003vy-UM for qemu-devel@nongnu.org; Mon, 18 May 2015 22:51:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YuXdF-0001ij-1n for qemu-devel@nongnu.org; Mon, 18 May 2015 22:51:49 -0400 From: Fam Zheng Date: Tue, 19 May 2015 10:50:58 +0000 Message-Id: <1432032670-15124-2-git-send-email-famz@redhat.com> In-Reply-To: <1432032670-15124-1-git-send-email-famz@redhat.com> References: <1432032670-15124-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH v3 01/13] stubs: Add qemu_set_fd_handler List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , qemu-block@nongnu.org, Juan Quintela , Jason Wang , Vincenzo Maffione , "Vassili Karpov (malc)" , Gerd Hoffmann , Stefan Hajnoczi , Amit Shah , Paolo Bonzini , Giuseppe Lettieri , Luigi Rizzo 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 --- 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.1