Received: by 10.192.165.148 with SMTP id m20csp1927300imm; Thu, 3 May 2018 07:37:48 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqgr4HEHrEDaFfq6Ys2OJmoHeuO62Md7Zr7mnJ28mUMSSzAZ270hA+dKWd6axUeSLtqT+v8 X-Received: by 2002:a63:a704:: with SMTP id d4-v6mr19614834pgf.324.1525358268198; Thu, 03 May 2018 07:37:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525358268; cv=none; d=google.com; s=arc-20160816; b=IgY8gHILazB65l8KIc0WrOdx1TG+8pnKooEPXftA5+QzPShBwCDrdHK9oRRRxOXoBm 1FsDHG/QpO+oIOsKeHtzwwvk7Udbwc52NGWQSXnbHTaIHGXofYE6xZwBoYOLbxGrkBxe WENFNfIc8yDV4iCzonmHJkE9WFgp9TfwB2kutIXWtL2l0XARjADoywkSwbcnuwWNI3t5 tepqmgLlNj4gX+AFV2ET4+eCPK3x8JDJhRed/bMNb19qehhQ+nAnA6Nqb7PxofIcN4zB pvQk3dUbACGAAxIoByebNF0ywCDJORj0mkl/eRZfMeZfAq0qyoaSG50H2wWsErc9r/A1 uiZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:arc-authentication-results; bh=hUIynDIkCpaNcSncDMCitpyG7xsRwUZN3xxd5Db5hq0=; b=bsMpkAsiyUFK5pYoS89h2FiloeILKfQhik16sPUMk3KvNoOCslpivoBO1wo6Z/piJB 9sIlbWSA+olvpqssBZpJH4PKFwv666H/+4+ogi+gUwB9pC/dhfT1iobmzRLhgCTYP69p JKzBlPc9ZcNoM7K6GhspoH0HYN7gr6Hl3jmhmTlWA/E/8Uk8hsjPV8sj2WwL4w0AmdYl ZlujSEBr1phRurVrEbbPSnpnm6EuoXSFdTDFEMuq9HECIC2PFDzffS3yP4Yni1AQGxy/ /ie2rmYm72r1swMlX+1EuZSsVCcgCi9MJTn6jDhp23FoHQByGGlZs2XvIzRE4PTatOiH Lhqg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n3-v6si11200608pgr.562.2018.05.03.07.37.34; Thu, 03 May 2018 07:37:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751301AbeECOhT (ORCPT + 99 others); Thu, 3 May 2018 10:37:19 -0400 Received: from smtp.ctxuk.citrix.com ([185.25.65.24]:62779 "EHLO SMTP.EU.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751079AbeECOhS (ORCPT ); Thu, 3 May 2018 10:37:18 -0400 X-IronPort-AV: E=Sophos;i="5.49,358,1520899200"; d="scan'208";a="72565947" From: Roger Pau Monne To: CC: Roger Pau Monne Subject: [PATCH 0/3] xen/pvh: Dom0 support Date: Thu, 3 May 2018 15:36:43 +0100 Message-ID: <20180503143646.60747-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.17.0 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-ClientProxiedBy: AMSPEX02CAS02.citrite.net (10.69.22.113) To AMSPEX02CL02.citrite.net (10.69.22.126) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, The following patches enable booting a PVH Dom0. So far I've only tested them in my test box, so I expect more issues will show up as this gets further testing. In any case, this is the bare minimum to get a PVH Dom0 working. In order to test them Xen 4.11 RC or plain master/staging should be used. Compile a Linux kernel with this patches and PVH support and add dom0=pvh to the Xen command line. The following message will be displayed during boot by the Linux kernel if PVH mode is used: "Booting paravirtualized kernel on Xen PVH" Thanks, Roger. Roger Pau Monne (3): xen/pvh: enable and set default MTRR type xen/store: do not store local values in xen_start_info xen: share start flags between PV and PVH arch/x86/xen/enlighten.c | 7 +++++++ arch/x86/xen/enlighten_pv.c | 1 + arch/x86/xen/enlighten_pvh.c | 4 ++++ drivers/xen/xenbus/xenbus_probe.c | 5 ++--- include/xen/xen.h | 4 +++- 5 files changed, 17 insertions(+), 4 deletions(-) -- 2.17.0