[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 06/15] x86/hyperlaunch: introduce the domain builder
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Jason Andryuk <jason.andryuk@xxxxxxx>
- Date: Wed, 2 Apr 2025 15:44:54 -0400
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=suse.com 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=YVUDgxZwZhbEor8eFex4pwB2zoHtjJee5WY22BW857s=; b=V+tVFnA7RaoJY4Z/p56BnM/VsQljuSDkIMMuw8P+u42QMmWc8doTCeF69W/j30iRNgS6sSDWXfWsV61we+DIVEHxsPSIcjT4qKIr93J06W8ikAa+lAuQeT9LLOkrm0Q/KjNKiRHifIg00xbXgArqfttG3q77bDd6Z9JFvqaHs+fFpW6qTSE8zYayhNSjESaQqUm6QOhSDGyO5Q+gbrHRjX4UsPYf2NGDOR0jYyxlKcHYvqnJdR49CH9OxaATXgnnyrOdUGJZqCCIjk0LDkBec+yjF41xlyTu0O/wYENSCDR49SuJq+RJVYkb8VtR8GzCe3TWRsD/lfHf49v3TaJ8Iw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=s3bK63PPiplHHbsZ//LGfO10SodNB8zdxl2wRHont/VuA/MALtToKenYK8z3PxDEI5twyI31vOC2OsUV/775JbMS2qT2OGLZ3yG7FjG/ft06BLsYklZ9lvoGLmQ+7mNvFeUpD7RHeNUTPOdDEr68fNsSEsG5fMQKJBzhKjO5flhkA21tJ6dKCGDa/5shDbFJ9nh4cnU8yLlXZPaLf/QaUdqghn3NH55dM67yI/8VKpbTrm0hFO7XcEaG608JEYShPhMJto73q1a/OAgHcKALoK8auLCQQwh5zQFGyOtWND3zsttfBFRt+dczpTUbhh1n24gpWRYSBvGjG1D5Ve0zpA==
- Cc: <christopher.w.clark@xxxxxxxxx>, <stefano.stabellini@xxxxxxx>, "Andrew Cooper" <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>, <Alejandro.GarciaVallejo@xxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Wed, 02 Apr 2025 19:45:20 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 2025-04-02 05:25, Jan Beulich wrote:
On 01.04.2025 20:01, Jason Andryuk wrote:
On 2025-01-30 09:52, Jan Beulich wrote:
On 26.12.2024 17:57, Daniel P. Smith wrote:
--- a/xen/arch/x86/Makefile
+++ b/xen/arch/x86/Makefile
@@ -81,6 +81,8 @@ obj-$(CONFIG_COMPAT) += x86_64/platform_hypercall.o
obj-y += sysctl.o
endif
+obj-y += domain-builder/
The set of subdirs needed in $(obj-y) is specified at the top of the file.
Also shouldn't this be obj-$(CONFIG_DOMAIN_BUILDER)?
Later, all boot-time domain building is handled by
domain-builder/core.c. So some of domain-builder/ is always built, and
Kconfig disables multidomain support.
Then CONFIG_DOMAIN_BUILDER is a misnomer?
Dan also adds CONFIG_MULTIDOMAIN_BUILDER later... which is used only for:
- BUG_ON(!pv_shim && d->domain_id != 0);
+ if ( ! IS_ENABLED(CONFIG_MULTIDOMAIN_BUILDER) )
+ BUG_ON(!pv_shim && d->domain_id != 0);
:(
I thought it at least restricted the size of the boot domains array.
-Jason
|