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

[Xen-devel] [PATCH v2 15/62] x86/Kconfig: Options for Xen and PVH support



From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Introduce two options. One to detect whether the binary is running on
Xen, the other enables PVH ABI support.

The former will be useful to PV in HVM approach. Both will be used by
PV in PVH approach.

Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
v2:
Write commit message. Didn't change the config option value as it
requires a lot of changes in later patches.
---
 xen/arch/x86/Kconfig | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/xen/arch/x86/Kconfig b/xen/arch/x86/Kconfig
index 7c4582922f..c0b0bcdcb3 100644
--- a/xen/arch/x86/Kconfig
+++ b/xen/arch/x86/Kconfig
@@ -117,6 +117,23 @@ config TBOOT
          Technology (TXT)
 
          If unsure, say Y.
+
+config XEN_GUEST
+       def_bool n
+       prompt "Xen Guest"
+       ---help---
+         Support for Xen detecting when it is running under Xen.
+
+         If unsure, say N.
+
+config PVH_GUEST
+       def_bool n
+       prompt "PVH Guest"
+       depends on XEN_GUEST
+       ---help---
+         Support booting using the PVH ABI.
+
+         If unsure, say N.
 endmenu
 
 source "common/Kconfig"
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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