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

[Xen-devel] [PATCH RFC for-4.12] x86: put CONFIG_{HVM, PV} under EXPERT

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

Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
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
          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"
          Interfaces to support HVM domains.  HVM domains require hardware
          virtualisation extensions (e.g. Intel VT-x, AMD SVM), but can boot

Xen-devel mailing list



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