From patchwork Fri Mar 11 15:21:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jane Malalane X-Patchwork-Id: 12778224 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8351EC433EF for ; Fri, 11 Mar 2022 15:21:52 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.289147.490563 (Exim 4.92) (envelope-from ) id 1nSh5I-0006AZ-SH; Fri, 11 Mar 2022 15:21:40 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 289147.490563; Fri, 11 Mar 2022 15:21:40 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nSh5I-0006AS-P6; Fri, 11 Mar 2022 15:21:40 +0000 Received: by outflank-mailman (input) for mailman id 289147; Fri, 11 Mar 2022 15:21:38 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nSh5G-0006AM-Nc for xen-devel@lists.xenproject.org; Fri, 11 Mar 2022 15:21:38 +0000 Received: from esa5.hc3370-68.iphmx.com (esa5.hc3370-68.iphmx.com [216.71.155.168]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id f0d0ae16-a14e-11ec-853a-5f4723681683; Fri, 11 Mar 2022 16:21:37 +0100 (CET) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: f0d0ae16-a14e-11ec-853a-5f4723681683 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1647012097; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=NQe4qS5MBDdoMjjP8Wzae2ESuncqEPDVU3r+YlHB8x4=; b=gm9BMMn9u8X1KhEm7bqzTOGdDbWh9GCb0Vc/khwL1PNnfYEND+GI6htd UFTdV0d4rBvcn/cBUuh2KY7m8E3KY/EGUnB83c05qN1TPmT+aM9EoKyUa 6Di9bk/aWZFpe//NNBND1QwtJue7FRMfaf+21gHGdalg6Ap2Gcavd0VpU o=; Authentication-Results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none X-SBRS: 5.1 X-MesageID: 65495651 X-Ironport-Server: esa5.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.83 X-Policy: $RELAYED IronPort-Data: A9a23:ZM3aPq+ozGdccQ8euuRADrUD5H6TJUtcMsCJ2f8bNWPcYEJGY0x3n WIdUT3SOf+DZmH9fN90a4mz8h4D6MSBnYBqGQs9pH08E34SpcT7XtnIdU2Y0wF+jyHgoOCLy +1EN7Es+ehtFie0Si+Fa+Sn9T8mvU2xbuKU5NTsY0idfic5DnZ54f5fs7Rh2NQw2oHgW1nlV e7a+KUzBnf0g1aYDUpMg06zgEsHUCPa4W5wUvQWPJinjXeG/5UnJMt3yZKZdhMUdrJ8DO+iL 9sv+Znilo/vE7XBPfv++lrzWhVirrc/pmFigFIOM0SpqkAqSiDfTs/XnRfTAKtao2zhojx/9 DlCnb3hZCMSEJbKpKcMCDZpK3pBAPUd/IaSdBBTseTLp6HHW37lwvEoB0AqJ4wIvO1wBAmi9 9RBdmpLNErawbvrnvTrEYGAhex6RCXvFKEWvHwm6DjdBPIvR53rSKTW/95Imjw3g6iiGN6AO pZINGQyNXwsZTV9I14SEa4zzdyzm1f8WhQI92PPn4oOtj27IAtZj+G2bYu9lsaxbdVYmAOUq 3zL+0z9AwoGL5qPxDyd6HWui+TT2yThV+ov+KaQr6AwxgfJnypKVUNQBQDTTeSFZlCWeoNyD 3c6wSwS7rlp232TFebAB0a8mSvR1vIDYOZ4H+o/4QCL76Pb5QeFG2QJJgJ8hMwaWNweHmJzi ALQ9z/9LXk26eDOFyrBnluBhW7qYUAowXk+iTjopOfvy/3qu8kNgx3GVb6P+4bl34SuSVkcL 91nxRXSZon/b+ZXhs1XHnid2lpAQ6QlqCZst207uUr/smtEiHaNPdDA1LQixa8owHylZleAp mMYvMOV8foDC5qA/ATUHrlTTer2uKbdaGSC6bKKI3XH3238k5JEVdoNiAyS2W8zappUEdMXS BO7VfxtCG97YyLxMP4fj3OZAMU216nwfekJpdiPBueilqNZLVfdlAk3PBb49zm0zCAEzPFuU b/GIJ3EJStLVsxaIM+eGr51PUkDnXtlmws+hPnTknya7FZpTCXMGOlfbwfWMLxRAWHtiFy9z uuz/vCik313ONASqAGNmWLPBTjm9UQGOK0= IronPort-HdrOrdr: A9a23:VWSb3a1K3avTTYQsEvGGCgqjBL4kLtp133Aq2lEZdPRUGvb3qy nIpoV96faUskd0ZJhOo7C90cW7LU80lqQFhLX5X43SPzUO0VHAROoJgLcKqweQfREWndQ96U 4PScdD4aXLfDpHsfo= X-IronPort-AV: E=Sophos;i="5.90,174,1643691600"; d="scan'208";a="65495651" From: Jane Malalane To: Xen-devel CC: Jane Malalane Subject: [PATCH v7 0/2] xen: Report and use hardware APIC virtualization capabilities Date: Fri, 11 Mar 2022 15:21:05 +0000 Message-ID: <20220311152107.2918-1-jane.malalane@citrix.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Jane Malalane (2): xen+tools: Report Interrupt Controller Virtualization capabilities on x86 x86/xen: Allow per-domain usage of hardware virtualized APIC docs/man/xl.cfg.5.pod.in | 15 ++++++++++++++ docs/man/xl.conf.5.pod.in | 12 +++++++++++ tools/golang/xenlight/helpers.gen.go | 16 ++++++++++++++ tools/golang/xenlight/types.gen.go | 4 ++++ tools/include/libxl.h | 14 +++++++++++++ tools/libs/light/libxl.c | 3 +++ tools/libs/light/libxl_arch.h | 9 ++++++-- tools/libs/light/libxl_arm.c | 14 ++++++++++--- tools/libs/light/libxl_create.c | 22 ++++++++++++-------- tools/libs/light/libxl_types.idl | 4 ++++ tools/libs/light/libxl_x86.c | 39 +++++++++++++++++++++++++++++++++-- tools/ocaml/libs/xc/xenctrl.ml | 7 +++++++ tools/ocaml/libs/xc/xenctrl.mli | 7 +++++++ tools/ocaml/libs/xc/xenctrl_stubs.c | 17 ++++++++++++--- tools/xl/xl.c | 8 +++++++ tools/xl/xl.h | 2 ++ tools/xl/xl_info.c | 6 ++++-- tools/xl/xl_parse.c | 16 ++++++++++++++ xen/arch/x86/domain.c | 29 +++++++++++++++++++++++++- xen/arch/x86/hvm/hvm.c | 3 +++ xen/arch/x86/hvm/vmx/vmcs.c | 13 ++++++++++++ xen/arch/x86/hvm/vmx/vmx.c | 13 ++++-------- xen/arch/x86/include/asm/hvm/domain.h | 6 ++++++ xen/arch/x86/include/asm/hvm/hvm.h | 10 +++++++++ xen/arch/x86/sysctl.c | 4 ++++ xen/arch/x86/traps.c | 5 +++-- xen/include/public/arch-x86/xen.h | 2 ++ xen/include/public/sysctl.h | 11 +++++++++- 28 files changed, 277 insertions(+), 34 deletions(-)