[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 05/25] xen: introduce CONFIG_DOMCTL
- To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Penny Zheng <Penny.Zheng@xxxxxxx>
- Date: Sun, 3 Aug 2025 17:47:18 +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=gZBfEkYMoH4wrGRGa6I6ddzO0izCEguxFLEC949T/Ek=; b=vsT2c54aR0eOkD7O1pmKJzOHikxrszrSvuDhfcT0rcdJsUQZxK6XpNGMLFDYQMLfIR/2/JvrhXZf4AMnmBiaHEJc1xDa7jQTvtu4UpDg91+vBPTggn8/biqUCUgVKsqQG8r7KKAWIUZQk9+RB2g/AIETbpGvtrCKv0ObPoogvFGHkhKzHYqSaeTK2/BhmLYkkoBxq6rnxtVxAPtsEb2vwGfaHBMr3zWnujCEnCOZHUetgvuMYmGO8TWkiZeJUzWpVHKkl8OrqOqOZ0n+IF8Aoruo45HBtCHWNpEuF7qdDQdCdhD0RhEco8cmFGAKB/QivoStZoELn8yQQf1iOvZ8Ag==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=I2+draGIXiUULd4BuJxjDr+4UJlN7cxXC3Tn5t+XlYPu9v6aQs9d2lSbHn9VldwLNVtApluQd1a4GrHSXdcXTnHwBQfgDJhq1ou+CTdAo4ov1kpiLgwLOHilYhAANr+BhJMNeIJihNUWg6sYc2GEWL67/aBluijWISVtOtAk3PY+O0f5BZpDU0nLHADq7GrYMWlDVNNHn0DBZ5Fr46PytPteJShVRgzpkvddqj2O49RmAXKGebF2bL46KpU9Byo++iMOo+nhgcsEaZ76pmP3i8FMDzx2ETzS7k15L3ago/8uEqUJgHHO1HV6LSL67wRC09HRvTBTOF+QVUhexGLMMw==
- 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: Sun, 03 Aug 2025 09:48:23 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
We introduce a new Kconfig CONFIG_DOMCTL, which shall only be disabled
on some dom0less systems or PV shim on x86, to reduce Xen footprint.
Making DOMCTL without prompt is transient and it will be adjusted in the final
patch. And the consequence of introducing "CONFIG_DOMCTL=y" in .config file
generated from pvshim_defconfig is transient too, which will also be adjusted
in the final patch.
Signed-off-by: Penny Zheng <Penny.Zheng@xxxxxxx>
---
xen/common/Kconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index 16936418a6..bf1850c154 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -627,6 +627,10 @@ config SYSCTL
This option shall only be disabled on some dom0less systems, or
PV shim on x86, to reduce Xen footprint.
+config DOMCTL
+ bool "Enable domctl hypercall"
+ def_bool y
+
endmenu
config PM_OP
--
2.34.1
|