From patchwork Mon Apr 8 15:16:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Durrant X-Patchwork-Id: 10889717 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C79411390 for ; Mon, 8 Apr 2019 15:21:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA1E2287BB for ; Mon, 8 Apr 2019 15:21:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9E2E3287ED; Mon, 8 Apr 2019 15:21:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 54A28287E8 for ; Mon, 8 Apr 2019 15:21:11 +0000 (UTC) Received: from localhost ([127.0.0.1]:54779 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hDW58-0005gP-L9 for patchwork-qemu-devel@patchwork.kernel.org; Mon, 08 Apr 2019 11:21:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hDW17-0002n7-52 for qemu-devel@nongnu.org; Mon, 08 Apr 2019 11:17:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hDW11-0001Mx-Dy for qemu-devel@nongnu.org; Mon, 08 Apr 2019 11:16:57 -0400 Received: from smtp03.citrix.com ([162.221.156.55]:43190) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hDW0x-0000tN-RL; Mon, 08 Apr 2019 11:16:53 -0400 X-IronPort-AV: E=Sophos;i="5.60,325,1549929600"; d="scan'208";a="83016879" From: Paul Durrant To: , , Date: Mon, 8 Apr 2019 16:16:14 +0100 Message-ID: <20190408151617.13025-1-paul.durrant@citrix.com> X-Mailer: git-send-email 2.20.1.2.gb21ebb6 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 162.221.156.55 Subject: [Qemu-devel] [PATCH 0/3] Support IOThread polling for PV shared rings X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , Stefano Stabellini , Max Reitz , Paul Durrant , Stefan Hajnoczi , Anthony Perard Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Currently xen-block uses an IOThread to handle AIO but the event channels are dealt with on QEMU's main thread. This series allows them to be dealt with in the same context. Paul Durrant (3): xen-bus: use a separate fd for each event channel xen-bus: allow AioContext to be specified for each event channel xen-bus / xen-block: add support for event channel polling hw/block/dataplane/xen-block.c | 19 +++---- hw/xen/xen-bus.c | 92 +++++++++++++++++++--------------- include/hw/xen/xen-bus.h | 9 ++-- 3 files changed, 66 insertions(+), 54 deletions(-) --- Cc: Anthony Perard Cc: Kevin Wolf Cc: Max Reitz Cc: Stefan Hajnoczi Cc: Stefano Stabellini -- 2.20.1.2.gb21ebb6