Re: [PATCH v6 2/2] xen/domain: adjust domain ID allocation for Arm

2025-05-19 Thread dmkhn
On Sun, May 18, 2025 at 10:57:44AM +0200, Jan Beulich wrote: > On 16.05.2025 04:04, dm...@proton.me wrote: > > --- a/xen/common/domain.c > > +++ b/xen/common/domain.c > > @@ -85,7 +85,7 @@ void __init domid_init(void) > > * > > * If hint is outside of valid [0..DOMID_FIRST_RESERVED - 1] range o

Re: [PATCH v6 2/2] xen/domain: adjust domain ID allocation for Arm

2025-05-18 Thread Jan Beulich
On 16.05.2025 04:04, dm...@proton.me wrote: > --- a/xen/common/domain.c > +++ b/xen/common/domain.c > @@ -85,7 +85,7 @@ void __init domid_init(void) > * > * If hint is outside of valid [0..DOMID_FIRST_RESERVED - 1] range of IDs, > * perform an exhaustive search starting from the end of the us

[PATCH v6 2/2] xen/domain: adjust domain ID allocation for Arm

2025-05-15 Thread dmkhn
From: Denis Mukhin Remove the hardcoded domain ID 0 allocation for hardware domain and replace it with a call to get_initial_domain_id() (returns the value of hardware_domid on Arm). Update domid_alloc(DOMID_INVALID) case to ensure that get_initial_domain_id() ID is skipped during domain ID allo