[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 01/15] x86/boot: introduce boot domain
On 12/2/24 04:57, Jan Beulich wrote: On 23.11.2024 19:20, Daniel P. Smith wrote:To begin moving toward allowing the hypervisor to construct more than one domain at boot, a container is needed for a domain's build information. Introduce a new header, <xen/asm/bootdomain.h>, that contains the initial struct boot_domain that encapsulate the build information for a domain.Why does this need to be a per-arch header? Wasn't one of the goals to unify things as much as possible? Correct and at this point the level of unification is this series that provides a common device tree definition. --- a/xen/arch/x86/include/asm/dom0_build.h +++ b/xen/arch/x86/include/asm/dom0_build.h @@ -13,9 +13,9 @@ unsigned long dom0_compute_nr_pages(struct domain *d, unsigned long initrd_len); int dom0_setup_permissions(struct domain *d);-struct boot_info;-int dom0_construct_pv(struct boot_info *bi, struct domain *d); -int dom0_construct_pvh(struct boot_info *bi, struct domain *d); +struct boot_domain; +int dom0_construct_pv(struct boot_domain *bd); +int dom0_construct_pvh(struct boot_domain *bd);I'm wondering: Just a few commits ago you moved these to boot_info. Now you move them to boot_domain. Why the extra churn, and what further transformations are to be expected? Introducing all the abstractions and adjusting all interfaces in one go was deemed too complex to review and originally done that way because doing it incrementally would require making changes to changes. Therefore it is an artifact of breaking the larger change into an incremental introduction of the changes. When the multi-domain builder is incrementally introduced, there will be renaming in place, splitting, and renaming as function are moved. v/r, dps
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |