[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] xen: Conditionally compile out the boot_module.domU
commit 321de728d2ab0f334e775a0e97c0a69243b8d9c6 Author: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx> AuthorDate: Thu Jul 10 13:41:35 2025 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Thu Jul 10 13:41:35 2025 +0200 xen: Conditionally compile out the boot_module.domU ... based on CONFIG_X86. x86 won't depend on it, and it'll only be used by the domain builder in common/device-tree/ Moving it to an arch-specific subfield (as introduced in a later patch) is unwieldy, because all other arches depend on it. Signed-off-by: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx> Reviewed-by: Denis Mukhin <dmukhin@xxxxxxxx> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> --- xen/include/xen/bootfdt.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/xen/include/xen/bootfdt.h b/xen/include/xen/bootfdt.h index 236b456dd2..7f49d0ccdd 100644 --- a/xen/include/xen/bootfdt.h +++ b/xen/include/xen/bootfdt.h @@ -96,16 +96,18 @@ struct shared_meminfo { struct shmem_membank_extra extra[NR_SHMEM_BANKS]; }; -/* - * The domU flag is set for kernels and ramdisks of "xen,domain" nodes. - * The purpose of the domU flag is to avoid getting confused in - * kernel_probe, where we try to guess which is the dom0 kernel and - * initrd to be compatible with all versions of the multiboot spec. - */ #define BOOTMOD_MAX_CMDLINE 1024 struct boot_module { boot_module_kind kind; +#ifndef CONFIG_X86 + /* + * The domU flag is set for kernels and ramdisks of "xen,domain" nodes. + * The purpose of the domU flag is to avoid getting confused in + * kernel_probe, where we try to guess which is the dom0 kernel and + * initrd to be compatible with all versions of the multiboot spec. + */ bool domU; +#endif paddr_t start; paddr_t size; }; -- generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |