[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [RFC v1 5/8] xen: x86: add XEN_PV



From: "Luis R. Rodriguez" <mcgrof@xxxxxxxx>

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 <mcgrof@xxxxxxxx>
---
 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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.