Add new option to make altp2m code inclusion optional.
Currently altp2m support provided for VT-d only, so option is dependant on VMX.

No functional change intended.

Signed-off-by: Sergiy Kibrik <sergiy_kib...@epam.com>
CC: Tamas K Lengyel <ta...@tklengyel.com>
---
 xen/arch/x86/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/xen/arch/x86/Kconfig b/xen/arch/x86/Kconfig
index 8c9f8431f0..2872b031a7 100644
--- a/xen/arch/x86/Kconfig
+++ b/xen/arch/x86/Kconfig
@@ -358,6 +358,11 @@ config REQUIRE_NX
          was unavailable. However, if enabled, Xen will no longer boot on
          any CPU which is lacking NX support.
 
+config ALTP2M
+       bool "Alternate P2M support"
+       def_bool y
+       depends on VMX && EXPERT
+
 endmenu
 
 source "common/Kconfig"
-- 
2.25.1


Reply via email to