Received: from eggs.gnu.org ([2001:4830:134:3::10]:53874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYoDs-0002FJ-RU for qemu-devel@nongnu.org; Mon, 29 Sep 2014 23:35:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYoDm-0007Ch-LU for qemu-devel@nongnu.org; Mon, 29 Sep 2014 23:35:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYoDm-0007Aj-ER for qemu-devel@nongnu.org; Mon, 29 Sep 2014 23:35:26 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s8U3ZKaF002407 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 29 Sep 2014 23:35:20 -0400 From: Fam Zheng Date: Tue, 30 Sep 2014 11:35:16 +0800 Message-Id: <1412048118-24834-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH v2 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 v2: Introduce patch 1 to allow qemu_epoll to access AioContext. Don't pollute g_* namespace. (Stefan) Fam Zheng (2): main-loop: Pass AioContext into qemu_poll_ns main-loop: Use epoll on Linux Makefile.objs | 1 + aio-posix.c | 2 +- include/block/aio.h | 16 +++++ include/qemu/main-loop.h | 1 + include/qemu/timer.h | 3 +- main-loop.c | 6 +- qemu-epoll.c | 163 +++++++++++++++++++++++++++++++++++++++++++++++ qemu-timer.c | 6 +- tests/Makefile | 2 +- 9 files changed, 193 insertions(+), 7 deletions(-) create mode 100644 qemu-epoll.c -- 1.9.3