From ac4151201b7fade448d2735878ce8e328ef05e5e Mon Sep 17 00:00:00 2001 From: Alejandro Vallejo Date: Tue, 22 Jul 2025 13:59:44 +0200 Subject: [PATCH] bootfdt: Add createdomain arguments to boot_domain 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 Acked-by: Stefano Stabellini Reviewed-by: Jason Andryuk Reviewed-by: Edgar E. Iglesias --- 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 #endif +#include + #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