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

[PATCH v5 01/12] kconfig: introduce domain builder config options


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Alejandro Vallejo <agarciav@xxxxxxx>
  • Date: Thu, 24 Apr 2025 17:10:11 +0100
  • 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=wEc/HNT0KESzfboUNJTrwBwewE4li5sM04iz6EBbZLA=; b=Z8fTOysRth74p/g6tvMdsRd17+Cs5l28fgJqbeGrfcBXeXtP6NKWQ6tbGlOawOzpbMARlPyZ+uZlre2hAMZOGAQSgXjWFLL175K6R/Kntu7JC/CX3KaNoZmqIcUnMJjyCBw60Q5ds1nHE1tUBnVHHgl0hwkilLFKvzl/KkJ2ODCG1h430KsKRIEru5jjwP/AmDc7JcvxbLR8RerpECcAl2556M/bWIw17cgLclcpADIEl2bJcKKmKoeBuHP22wqOclHKW9zqaV9adv5URfG/INTAXMygvZqgC4XX3q68U6nYobnFwBrAZGEtkbMoFvkWI8xNJVCxKyr8hf5EY9db4g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=au0ONRxs4r21n/+cqzlGjIPQ/we2L2J5uuDDpAcqMVlo9GOhuz1zodIysbLkbVfuf72QgjfKu4xTi7FamJKeujO6j+4EZY0H7wBKrfN4ZrlW0bEeyiizrex1DUDfsVzaqAed+L2ljSk+zeXe9sfIfHjovMyHsYVnMkjv4sHfcr4FNuLz+nlV5wcNpRLVGzWHaETMMdPByuwUk0k3MrvrA8kIOLVPK27B2oZ8ag4EPxpRysmdR93kqQYVgO/Y/BVWwvYAJiCdlJwgUpu1w4mfx6Xpj7U5bMigv0awtJ1jN1+NELVSBqkVwuu2acihFOnXx+MiCGWKZFwONADWx5BdKg==
  • Cc: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, 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>, Alejandro Vallejo <agarciav@xxxxxxx>
  • Delivery-date: Thu, 24 Apr 2025 16:11:02 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

From: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>

Hyperlaunch domain builder will be the consolidated boot time domain
building logic framework. Introduces the config option to enable this
domain builder to eventually turn on the ability to load the domain
configuration via a flattened device tree.

Signed-off-by: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Alejandro Vallejo <agarciav@xxxxxxx>
---
v5:
  * Removed CONFIG_HAS_BOOT_INFO
  * Reworded help message
---
 xen/common/Kconfig                |  2 ++
 xen/common/domain-builder/Kconfig | 15 +++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 xen/common/domain-builder/Kconfig

diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index be28060716..e025fbe257 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -144,6 +144,8 @@ config STATIC_MEMORY
 
          If unsure, say N.
 
+source "common/domain-builder/Kconfig"
+
 menu "Speculative hardening"
 
 config INDIRECT_THUNK
diff --git a/xen/common/domain-builder/Kconfig 
b/xen/common/domain-builder/Kconfig
new file mode 100644
index 0000000000..44b8351af8
--- /dev/null
+++ b/xen/common/domain-builder/Kconfig
@@ -0,0 +1,15 @@
+menu "Domain Builder Features"
+
+config DOMAIN_BUILDER
+       bool "Domain builder (UNSUPPORTED)" if UNSUPPORTED && X86
+       select LIBFDT
+       help
+         Support for constructing predefined domains described by a flattened
+         device tree. This allows constructing multiple domains at boot time
+         instead of being limited to a single dom0.
+
+         This feature is currently experimental.
+
+         If unsure, say N.
+
+endmenu
-- 
2.43.0




 


Rackspace

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