In order to asist in reviewing/developing disabling domctl-op patch serie,
we will transiently make MGMT_HYPERCALLS def_bool. And it will become
optional at the last of domctl-op patch serie, where common/domctl.o's
building as a whole becomes dependent upon that setting.

Signed-off-by: Penny Zheng <[email protected]>
---
v2 -> v3:
- new commit
---
v4 -> v5:
- Remove "bool xxx" is to actually remove prompt
---
 xen/common/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index 6709c3c95c..7f7ed62f78 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -652,9 +652,8 @@ menu "Supported hypercall interfaces"
        visible if EXPERT
 
 config MGMT_HYPERCALLS
-       bool "Enable privileged hypercalls for system management"
+       def_bool y
        depends on !PV_SHIM_EXCLUSIVE
-       default y
        help
          This option shall only be disabled on some dom0less systems, or
          PV shim on x86, to reduce Xen footprint via managing unnessary
-- 
2.34.1


Reply via email to