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

[PATCH v5 16/18] xen/sysctl: make CONFIG_LIVEPATCH depend on CONFIG_SYSCTL


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Penny Zheng <Penny.Zheng@xxxxxxx>
  • Date: Mon, 16 Jun 2025 14:41:26 +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=XwJhrnnb+2MW/ne4s8eBK/wVf0i4fVNoPwNCu0hf/gQ=; b=pldeJ2jsfHOT491HG5xpseqxRRGD/gfBWhduaV4j/HT5ZyuliPPotDjLCWWen5rG9VT7kVIffZWU1hLMaGzQKkG9CoQPt/QjnfyVNNsHxTGXT2/LaTbPXMIzAEpGeg4eWJpRPTfR7q6rafzG6cEpUmJQHuM4tTh2uGdjSjpWKLDNUzYVOFaOqUbK1uHKGKhTDkqdRoh3ZC0cMH9rPZb+Y0QJvy2xphHnT/xGyiqxWHF1oo+JeKSDA7vD7polateTegZ/v7N7mcl58g27NVaYK1UtlI2LHd6cqmWNwbzt4Qto1jemlc6reHCBdj6FJMAamjiwIZRcjsyIbXnPkcRy4Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ZYP9fV3paS2Tlz56scLoanfwVAOpYFbJ0r/ynirTVelVl5UaQ0HYKNKAcfmp3XPK5zBe+6vuuEgl1n2/JfQBz936vx6ZaNbGojpX6Vq0uIvuZu1uaTjyt/ChplxmiYsABaUI2d7UvnR/NSaa0u+E2XG+ro6lEoXol8Ov56m2/+WM4xJjFfOoSsw/kL189O+dqPj17CskKvxZzIpDvcBvDu8i+gf0GYnGoU9XalgksnuNEldjEvQRJIi+u32V1XkUVBUKCb+2ZB7Pc2X3rfAgzUpWo56eFnvfBVIFfh8j6LpngnzH2jF5qzkU/I9FtlDDvdlzLn4I77aHvaSTPPhfuA==
  • Cc: <ray.huang@xxxxxxx>, 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: Mon, 16 Jun 2025 06:52:30 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

LIVEPATCH mechanism relies on LIVEPATCH_SYSCTL hypercall, so CONFIG_LIVEPATCH
shall depend on CONFIG_SYSCTL

Signed-off-by: Penny Zheng <Penny.Zheng@xxxxxxx>
Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
v1 -> v2:
- commit message refactor
---
 xen/common/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index 998e672fa7..65f07289dd 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -472,7 +472,7 @@ config CRYPTO
 config LIVEPATCH
        bool "Live patching support"
        default X86
-       depends on "$(XEN_HAS_BUILD_ID)" = "y"
+       depends on "$(XEN_HAS_BUILD_ID)" = "y" && SYSCTL
        select CC_SPLIT_SECTIONS
        help
          Allows a running Xen hypervisor to be dynamically patched using
-- 
2.34.1




 


Rackspace

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