mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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:
1 parent
fcf967c59f
commit
ac4151201b
1 file changed
+6
@@ -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
|
||||
|
||||