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: 10889703 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 BEC3217E1 for ; Mon, 8 Apr 2019 15:18:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A84851FFC8 for ; Mon, 8 Apr 2019 15:18:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9B99C28720; Mon, 8 Apr 2019 15:18:52 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 565841FFC8 for ; Mon, 8 Apr 2019 15:18:52 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hDW0r-0008GL-C0; Mon, 08 Apr 2019 15:16:45 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hDW0q-0008GF-At for xen-devel@lists.xenproject.org; Mon, 08 Apr 2019 15:16:44 +0000 X-Inumbo-ID: 4fec1a87-5a11-11e9-92d7-bc764e045a96 Received: from SMTP03.CITRIX.COM (unknown [162.221.156.55]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 4fec1a87-5a11-11e9-92d7-bc764e045a96; Mon, 08 Apr 2019 15:16:43 +0000 (UTC) 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 Subject: [Xen-devel] [PATCH 0/3] Support IOThread polling for PV shared rings X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , Stefano Stabellini , Max Reitz , Paul Durrant , Stefan Hajnoczi , Anthony Perard Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-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