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 <alejandro.garciavallejo@amd.com>
Acked-by: Stefano Stabellini <stefano.stabellini@amd.com>
Reviewed-by: Jason Andryuk <jason.andryuk@amd.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
This commit is contained in:
Alejandro Vallejo authored and Stefano Stabellini committed 2025-07-23 13:35:48 -07:00
1 parent fcf967c59f
commit ac4151201b
1 file changed
+6
+6
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.