From patchwork Thu May 10 09:15:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Durrant X-Patchwork-Id: 911320 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=citrix.com Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40hSJX344rz9s3q for ; Thu, 10 May 2018 19:16:12 +1000 (AEST) Received: from localhost ([::1]:60885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGhgI-0004DJ-05 for incoming@patchwork.ozlabs.org; Thu, 10 May 2018 05:16:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGhfb-0004Bu-Rm for qemu-devel@nongnu.org; Thu, 10 May 2018 05:15:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGhfY-0002Lj-ML for qemu-devel@nongnu.org; Thu, 10 May 2018 05:15:27 -0400 Received: from smtp03.citrix.com ([162.221.156.55]:30400) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fGhfY-0002K7-Ee for qemu-devel@nongnu.org; Thu, 10 May 2018 05:15:24 -0400 X-IronPort-AV: E=Sophos;i="5.49,384,1520899200"; d="scan'208";a="54185056" From: Paul Durrant To: , Date: Thu, 10 May 2018 10:15:15 +0100 Message-ID: <20180510091518.28199-1-paul.durrant@citrix.com> X-Mailer: git-send-email 2.11.0 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 v2 0/2] xen-hvm: use new resource mapping API 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: Stefano Stabellini , Paul Durrant , Anthony Perard , Paolo Bonzini Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" This series modifies QEMU to use the new guest resource mapping API (available in Xen 4.11+) to map ioreq pages. v2: - Add a patch to checkpatch to avoid misparsing of Xen stable API handles Paul Durrant (3): xen-hvm: create separate function for ioreq server initialization checkpatch: generalize xen handle matching in the list of types xen-hvm: try to use xenforeignmemory_map_resource() to map ioreq pages configure | 5 ++ hw/i386/xen/trace-events | 1 + hw/i386/xen/xen-hvm.c | 114 ++++++++++++++++++++++++++++++++------------ include/hw/xen/xen_common.h | 14 ++++++ scripts/checkpatch.pl | 2 +- 5 files changed, 105 insertions(+), 31 deletions(-) --- Cc: Anthony Perard Cc: Daniel P. Berrange Cc: Eric Blake Cc: Paolo Bonzini Cc: Stefano Stabellini