From: "Luis R. Rodriguez" Subject: [RFC v1 5/8] xen: x86: add XEN_PV Date: Wed, 11 Feb 2015 22:03:13 -0800 Message-ID: <1423720996-3332-6-git-send-email-mcgrof@do-not-panic.com> References: <1423720996-3332-1-git-send-email-mcgrof@do-not-panic.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YLn4k-0007ij-OQ for xen-devel@lists.xenproject.org; Thu, 12 Feb 2015 06:16:34 +0000 Received: by pdev10 with SMTP id v10so9741879pde.7 for ; Wed, 11 Feb 2015 22:16:31 -0800 (PST) In-Reply-To: <1423720996-3332-1-git-send-email-mcgrof@do-not-panic.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: jgross@suse.com, mcgrof@do-not-panic.com, mcgrof@suse.com, david.vrabel@citrix.com, boris.ostrovsky@oracle.com List-Id: xen-devel@lists.xenproject.org From: "Luis R. Rodriguez" This lets us rip out under the general XEN config the XEN_HAVE_PVMMU dependency. This only exists on the x86 universe. This is as per the agreed upon Xen Kconfig changes [0]. [0] http://comments.gmane.org/gmane.comp.emulators.xen.devel/231579 Signed-off-by: Luis R. Rodriguez --- arch/x86/xen/Kconfig | 7 ++++++- drivers/xen/Kconfig | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/x86/xen/Kconfig b/arch/x86/xen/Kconfig index b675e14..9e0442f 100644 --- a/arch/x86/xen/Kconfig +++ b/arch/x86/xen/Kconfig @@ -7,7 +7,6 @@ config XEN depends on PARAVIRT select PARAVIRT_CLOCK select PARAVIRT_MMU - select XEN_HAVE_PVMMU depends on X86_64 || (X86_32 && X86_PAE) depends on X86_TSC help @@ -52,3 +51,9 @@ config XEN_PVH depends on X86_64 && XEN select XEN_PVHVM def_bool n + +config XEN_PV + bool "Support for running as a PV guest" + depends on XEN && X86 + select XEN_HAVE_PVMMU + def_bool n diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig index 2af6f69..31391bc 100644 --- a/drivers/xen/Kconfig +++ b/drivers/xen/Kconfig @@ -257,7 +257,8 @@ config XEN_MCE_LOG converting it into Linux mcelog format for mcelog tools config XEN_HAVE_PVMMU - bool + bool + depends on XEN_PV config XEN_EFI def_bool y -- 2.2.2