Re: [PATCH v3 02/16] x86/boot: introduce domid field to struct boot_domain

2025-04-10 Thread Jason Andryuk
On 2025-04-09 06:33, Alejandro Vallejo wrote: On Wed Apr 9, 2025 at 7:34 AM BST, Jan Beulich wrote: On 08.04.2025 18:07, Alejandro Vallejo wrote: @@ -1010,15 +1010,15 @@ static struct domain *__init create_dom0(struct boot_info *bi) dom0_cfg.flags |= XEN_DOMCTL_CDF_iommu; /*

Re: [PATCH v3 02/16] x86/boot: introduce domid field to struct boot_domain

2025-04-09 Thread Alejandro Vallejo
On Wed Apr 9, 2025 at 7:34 AM BST, Jan Beulich wrote: > On 08.04.2025 18:07, Alejandro Vallejo wrote: >> @@ -1010,15 +1010,15 @@ static struct domain *__init create_dom0(struct >> boot_info *bi) >> dom0_cfg.flags |= XEN_DOMCTL_CDF_iommu; >> >> /* Create initial domain. Not d0 for

Re: [PATCH v3 02/16] x86/boot: introduce domid field to struct boot_domain

2025-04-09 Thread Jan Beulich
On 08.04.2025 18:07, Alejandro Vallejo wrote: > @@ -1010,15 +1010,15 @@ static struct domain *__init create_dom0(struct > boot_info *bi) > dom0_cfg.flags |= XEN_DOMCTL_CDF_iommu; > > /* Create initial domain. Not d0 for pvshim. */ > -domid = get_initial_domain_id(); > -d =

[PATCH v3 02/16] x86/boot: introduce domid field to struct boot_domain

2025-04-08 Thread Alejandro Vallejo
From: "Daniel P. Smith" boot_domain stores the domid until it is used to create (and allocate) struct domain. d->domain_id is not available early enough. boot_domain domids are initialized to DOMID_INVALID. If not overridden by device tree, domids of DOMID_INVALID are assigned a valid value. The