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

[PATCH v3 02/20] xen: introduce CONFIG_SYSCTL


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Penny Zheng <Penny.Zheng@xxxxxxx>
  • Date: Mon, 21 Apr 2025 15:37:05 +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=gh6k+g8a8P3bX846oPvy8UVrY9rgIKh41SXuJfB5ceo=; b=k/ZreVE/CI20qncPmFxrphvpkUm5RrEwblKrEz87R0GiHOeeLJg4MRifa6dq0IAO1H8gwCrS85PoElfCRgZoS4UmYuQkjzCVrWDYUCjP3TBZqxOXUjslSX01ZtsSUxgbkbiXULgOhDj2y1H9gs7QktBXa6MFUwz9Y4vA9JWnrm4ynoF//mdgo+XrA23lLrs7Fcivp+byCynW7r55urMvTX1IIgqsesj6cVHcVfvASxSwE8YEC8clcYZhcQbIsN+X68jWMV4kCIJ3fUejCKkzfpmAWK/udBQO5RxuHQlcqHSEOSONa9hKIrQJJbjTslpXsVUm8qXHmq6hWk6GTxjzqQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=k74Zq/Py08UBBRG6nHXGlb7123ZLeqF2hpcMiRCfLp/chMeLTxOU/9lWbIU+DaX1HXIRkH/mh3sX8Dz/RADLYCVgLSmu/WRlswqHxT0mg4wVSD8xyG8T9Wuvxhh0gFJTLf0vvrC3sL+2KnXSugQOGWEOoM0HSyiN4TMzdT657txXy7zy1Fuxc/JnC5FCSl6UHksTXHh4GPNkTak79ih05Q+J4sjUhOjOR7JxgqtlonIeu7Snyax92+qOp/e8goH+QeLZtJxU8OSw3KrOlYpLbNFVzKCAL2tXHkfjY2Yz6wAGCRJ46S7jLgfwJLhOPkPnKhRrt2FyoqHGcx/+26iOog==
  • Cc: <ray.huang@xxxxxxx>, Stefano Stabellini <stefano.stabellini@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>, Sergiy Kibrik <Sergiy_Kibrik@xxxxxxxx>, Penny Zheng <Penny.Zheng@xxxxxxx>
  • Delivery-date: Mon, 21 Apr 2025 07:38:04 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

From: Stefano Stabellini <stefano.stabellini@xxxxxxx>

We introduce a new Kconfig CONFIG_SYSCTL, which shall only be disabled
on some dom0less systems, to reduce Xen footprint.

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxx>
Signed-off-by: Sergiy Kibrik <Sergiy_Kibrik@xxxxxxxx>
Signed-off-by: Penny Zheng <Penny.Zheng@xxxxxxx>
---
v2 -> v3:
- remove "intend to" in commit message
---
 xen/common/Kconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index be28060716..d89e9ede77 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -581,4 +581,15 @@ config BUDDY_ALLOCATOR_SIZE
          Amount of memory reserved for the buddy allocator to serve Xen heap,
          working alongside the colored one.
 
+menu "Supported hypercall interfaces"
+       visible if EXPERT
+
+config SYSCTL
+       bool "Enable sysctl hypercall"
+       default y
+       help
+         This option shall only be disabled on some dom0less systems,
+         to reduce Xen footprint.
+endmenu
+
 endmenu
-- 
2.34.1




 


Rackspace

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