From: Andrew Cooper Date: Fri, 10 Nov 2017 16:35:26 +0000 (+0000) Subject: x86/Kconfig: Options for Xen and PVH support X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~812 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d31efce487d9357dbf06d8f14f49822c8427f99a;p=xen.git x86/Kconfig: Options for Xen and PVH support 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 Signed-off-by: Wei Liu --- 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"