[PATCH v3 07/28] xen/domctl: make MGMT_HYPERCALLS transiently def_bool

Penny Zheng posted 28 patches 2 weeks, 3 days ago
Only 27 patches received!
[PATCH v3 07/28] xen/domctl: make MGMT_HYPERCALLS transiently def_bool
Posted by Penny Zheng 2 weeks, 3 days ago
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 <Penny.Zheng@amd.com>
---
v2 -> v3:
- new commit
---
 xen/common/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index 7bd8a04730..807b213e8b 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -649,8 +649,7 @@ config SYSTEM_SUSPEND
 	  If unsure, say N.
 
 config MGMT_HYPERCALLS
-	bool "Enable privileged hypercalls for system management"
-	default y
+	def_bool 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
Re: [PATCH v3 07/28] xen/domctl: make MGMT_HYPERCALLS transiently def_bool
Posted by Jan Beulich 1 day, 4 hours ago
On 13.10.2025 12:15, Penny Zheng wrote:
> 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 <Penny.Zheng@amd.com>

While in principle this is what I have been asking for, I don't think it can
sensibly be ack-ed before being re-based onto current staging, where ...

> --- a/xen/common/Kconfig
> +++ b/xen/common/Kconfig
> @@ -649,8 +649,7 @@ config SYSTEM_SUSPEND
>  	  If unsure, say N.
>  
>  config MGMT_HYPERCALLS
> -	bool "Enable privileged hypercalls for system management"
> -	default y
> +	def_bool y
>  	help
>  	  This option shall only be disabled on some dom0less systems, or
>  	  PV shim on x86, to reduce Xen footprint via managing unnessary

... a "depends on" has (re)appeared.

Jan