Received: from eggs.gnu.org ([2001:4830:134:3::10]:38776) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XielI-0005e2-Qz for qemu-devel@nongnu.org; Mon, 27 Oct 2014 03:30:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XielC-0005ZU-3N for qemu-devel@nongnu.org; Mon, 27 Oct 2014 03:30:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XielB-0005ZM-Sc for qemu-devel@nongnu.org; Mon, 27 Oct 2014 03:30:38 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9R7UacH031403 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 27 Oct 2014 03:30:36 -0400 From: Fam Zheng Date: Mon, 27 Oct 2014 15:30:46 +0800 Message-Id: <1414395048-16006-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/2] main-loop: Use epoll on Linux List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, Paolo Bonzini , Stefan Hajnoczi v3: Use separate structure for poll context instead of AioContext. (Stefan) Fam Zheng (2): main-loop: Introduce context parameter for qemu_poll_ns main-loop: Use epoll on Linux Makefile.objs | 1 + aio-posix.c | 2 +- include/block/aio.h | 2 + include/qemu/main-loop.h | 1 + include/qemu/timer.h | 17 ++++- main-loop.c | 7 ++- qemu-epoll.c | 161 +++++++++++++++++++++++++++++++++++++++++++++++ qemu-timer.c | 7 ++- tests/Makefile | 2 +- 9 files changed, 193 insertions(+), 7 deletions(-) create mode 100644 qemu-epoll.c -- 1.9.3