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

[Xen-changelog] [xen master] build: convert CONFIG_COMPAT to Kconfig



commit df9f55670008c92dcafa23680e0bf8b325e9cf24
Author:     Doug Goldstein <cardoe@xxxxxxxxxx>
AuthorDate: Mon Dec 21 13:39:27 2015 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Dec 21 13:39:27 2015 +0100

    build: convert CONFIG_COMPAT to Kconfig
    
    Use the Kconfig generated CONFIG_COMPAT defines in the code base.
    
    Signed-off-by: Doug Goldstein <cardoe@xxxxxxxxxx>
    Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
 config/x86_64.mk     |    1 -
 xen/arch/x86/Kconfig |    1 +
 xen/common/Kconfig   |    7 +++++++
 3 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/config/x86_64.mk b/config/x86_64.mk
index f12d549..85fa27c 100644
--- a/config/x86_64.mk
+++ b/config/x86_64.mk
@@ -2,7 +2,6 @@ CONFIG_X86 := y
 CONFIG_X86_64 := y
 CONFIG_X86_$(XEN_OS) := y
 
-CONFIG_COMPAT := y
 CONFIG_MIGRATE := y
 CONFIG_XCUTILS := y
 
diff --git a/xen/arch/x86/Kconfig b/xen/arch/x86/Kconfig
index 07e366d..7d2ed96 100644
--- a/xen/arch/x86/Kconfig
+++ b/xen/arch/x86/Kconfig
@@ -3,6 +3,7 @@ config X86_64
 
 config X86
        def_bool y
+       select COMPAT
        select HAS_ACPI
        select HAS_CPUFREQ
        select HAS_EHCI
diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index 7d0e9a9..046e257 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -1,6 +1,13 @@
 
 menu "Common Features"
 
+config COMPAT
+       bool
+       help
+         32-bit interface support on 64-bit Xen which is used for both
+         HVM and PV guests. HVMLoader makes 32-bit hypercalls irrespective
+         of the destination runmode of the guest.
+
 # Select HAS_DEVICE_TREE if device tree is supported
 config HAS_DEVICE_TREE
        bool
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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