Enabling and disabling one of the two isn't tested in OSSTest yet.

Signed-off-by: Wei Liu <wei.l...@citrix.com>
---
We need to sort this out for 4.12 release.

On the one hand, exposing them seems risky.

On the other hand, if there are bugs which cause xen to wander into a
path which hits BUG or ASSERT, they are problems with older releases
as well. And we definitely want to make each of the two security
supported in the long run.
---
 xen/arch/x86/Kconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/xen/arch/x86/Kconfig b/xen/arch/x86/Kconfig
index 5c2d1070b6..3e020dc629 100644
--- a/xen/arch/x86/Kconfig
+++ b/xen/arch/x86/Kconfig
@@ -37,7 +37,8 @@ source "arch/Kconfig"
 
 config PV
        def_bool y
-       prompt "PV support"
+       prompt "PV support" if EXPERT = "y"
+       default y
        ---help---
          Interfaces to support PV domains. These require guest kernel support
          to run as a PV guest, but don't require any specific hardware support.
@@ -68,7 +69,7 @@ config PV_LINEAR_PT
 
 config HVM
        def_bool !PV_SHIM_EXCLUSIVE
-       prompt "HVM support"
+       prompt "HVM support" if EXPERT = "y"
        ---help---
          Interfaces to support HVM domains.  HVM domains require hardware
          virtualisation extensions (e.g. Intel VT-x, AMD SVM), but can boot
-- 
2.11.0


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

Reply via email to