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

[PATCH v4 04/24] xen/domctl: make MGMT_HYPERCALLS transiently def_bool


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Penny Zheng <Penny.Zheng@xxxxxxx>
  • Date: Fri, 21 Nov 2025 18:57:41 +0800
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZUWB4zPTieGXMsEwDqzbhQ3g9us99jKBTg1eSov6L+s=; b=bCWE0SmlejQMc5FyQvFvYxngru+c42JvEDi7x5iySUqTurlZY96JBkn3pjsTCAHRCp6jxX/6NTerVK/CQJagRyeVfrL0gU8DDHbQVTRx/pGs3J+Rid+ERDy3oNm50VzGEa/N5i+N65d8/G9UClO7KJ725OKB0yrC07DFvppjiNymtsM8vDXx8/eLKUEWv0lL3GHpx8J+DsPFjCX1RStJ25wJdtqYrGxfaMppZdZJJuoP4xmtO5kUw8TebO2erK+CTNUrnYwVQCiLCWYETWUMnIa+wZjzFaMl7xtJfDo6czmXcrpYyxdNxkaEJWd21d0w3WQUML7BaUAYWm/6OLED8g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pQWVm40qOSqP04seDr8qD7v74i4qpSI7Xuh/2LYMN5LAu4j1gwrcdhwpQ6yXW/ih6hddWGARJWDj3mHZio50NDbBnMJMvGhQINjGuIMet8wt5U+8zND6zVcMaMqV0GzHoc01LDTKwMiVkwwaCUDB98Sk+rowKsETR4rs+ZVJWKS+IGUBOYycNJ/B4viG2aqF2VsgITPTH5MnbvfYBCksAq50p6Fowh1eF3oDnb6sUX8POaSZJfU6o9ehL2ylKvnZG4Eo79QgmtD7pMD5Ew5lDcnvfNpg+5h2G111KNTRsR/AHZtEz/1e+3sd/KDnBPBtXyYcaW644yjk+R/iHM9T1A==
  • Cc: <ray.huang@xxxxxxx>, <grygorii_strashko@xxxxxxxx>, Penny Zheng <Penny.Zheng@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, "Anthony PERARD" <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, "Jan Beulich" <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, "Stefano Stabellini" <sstabellini@xxxxxxxxxx>
  • Delivery-date: Fri, 21 Nov 2025 10:58:49 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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@xxxxxxx>
---
v2 -> v3:
- new commit
---
 xen/common/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index 6709c3c95c..aef29e0174 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -654,7 +654,7 @@ menu "Supported hypercall interfaces"
 config MGMT_HYPERCALLS
        bool "Enable privileged hypercalls for system management"
        depends on !PV_SHIM_EXCLUSIVE
-       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




 


Rackspace

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