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

[PATCH 04/10] bootfdt: Add createdomain arguments to boot_domain


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>
  • Date: Tue, 22 Jul 2025 13:59:44 +0200
  • 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=q6w13qZswxvWC3XT6T04XsVAsWCCZ8WBsx0mv9Xje/E=; b=CYzAOC9H2wSTw0WZZSu0DxCDUNlB9iFuyA6QrfMzj7io7fv1OXWufgVFsVLuTpgX0Oz6FeeF2qC4R7zrjhTsRMQpK5Al26s67/+hTPsAK5GlYa1aApk8/8qts+BUrGmVcgoz99hPjoAub3zpnFTcXwBsIb2Pe5mB+aF3SANYPpdaT8OWxHOUDFmNc4xbVyO2gLwB8oSVMOvMkoiBNByyQ/+q+Spri57T2Sr+Jmyv6qfigG23LQX/s7LorGMmQHDate0CNDC/zwCWrHUtFHR8PcX3/J6lVm7AN3GvCQSnxa+4U1p600d5C2hth+bxp3nbnimLF0r23+65pGMX6FScyQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=r3vvPNGvbw9yAHN+/qzjVC4YEBlAsI1EdA3vILHb1OupjL2tEkvBtifbm+bBcjqYj1MOUX3TkFH41V5hXemJo4sIr9GCDfCQE+KDNQZMNs8tu2UfqWgm7DChVacQQ991L1K6mL9WzRlh45lNrehRh7BqSkp4vZOfn7WnItsPHM2b8dAqHCfYTAkSSgHclA1vYTHptthSfYpI9PkRLR5ntk3g7PAmCWe2zS/bfh0+PtegYIjdw8B6mElxgHuncCZ4fsezHoMR/W3fSGkXHJSoUf3ZjiX0KfNg1kWos/RcgCo/YtrE4glr1wzko6Y9BUw673J8zEdo/tcHPiGixvizug==
  • Cc: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxx>, Jason Andryuk <jason.andryuk@xxxxxxx>, "Edgar E . Iglesias" <edgar.iglesias@xxxxxxx>
  • Delivery-date: Tue, 22 Jul 2025 12:00:31 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Add the arguments that create_domain() takes to boot_domain. This creates
a consistent place to drop the outputs of the dom0less bindings.

Not a functional change. Later patches use these fields as the outputs of
the dom0less parsing functions.

Signed-off-by: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>
Acked-by: Stefano Stabellini <stefano.stabellini@xxxxxxx>
Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xxxxxxx>
---
 xen/include/xen/bootfdt.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/xen/include/xen/bootfdt.h b/xen/include/xen/bootfdt.h
index 6cf05b5cdd..f107099263 100644
--- a/xen/include/xen/bootfdt.h
+++ b/xen/include/xen/bootfdt.h
@@ -11,6 +11,8 @@
 #include <asm/bootfdt.h>
 #endif
 
+#include <public/domctl.h>
+
 #define MIN_FDT_ALIGN 8
 
 /* Default #address and #size cells */
@@ -119,6 +121,10 @@ struct boot_domain {
     struct boot_module *initrd;
 
     const char *cmdline;
+
+    /* Input arguments to create_domain() */
+    struct xen_domctl_createdomain create_cfg;
+    unsigned int create_flags;
 };
 
 #define BOOTMOD_MAX_CMDLINE 1024
-- 
2.43.0




 


Rackspace

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