Re: [XEN][PATCH 2/7] xen/domctl: introduce XEN_DOMCTL_CDF_is_32bits

2025-07-31 Thread Grygorii Strashko
On 31.07.25 18:19, Julien Grall wrote: Hi Teddy, On 31/07/2025 15:02, Teddy Astie wrote: Hello, Le 31/07/2025 à 11:44, Grygorii Strashko a écrit : Hence, this patch introduces extra "XEN_DOMCTL_CDF_is_32bits" flag which is intended to be used by 64bit Arches for proper configuration of dom

Re: [XEN][PATCH 2/7] xen/domctl: introduce XEN_DOMCTL_CDF_is_32bits

2025-07-31 Thread Julien Grall
Hi Teddy, On 31/07/2025 15:02, Teddy Astie wrote: Hello, Le 31/07/2025 à 11:44, Grygorii Strashko a écrit : Hence, this patch introduces extra "XEN_DOMCTL_CDF_is_32bits" flag which is intended to be used by 64bit Arches for proper configuration of domain type when domain is created. Now it ad

Re: [XEN][PATCH 2/7] xen/domctl: introduce XEN_DOMCTL_CDF_is_32bits

2025-07-31 Thread Teddy Astie
Hello, Le 31/07/2025 à 11:44, Grygorii Strashko a écrit : > Hence, this patch introduces extra "XEN_DOMCTL_CDF_is_32bits" flag which is > intended to be used by 64bit Arches for proper configuration of domain type > when domain is created. > > Now it adds initial support for this flag for Arm64 ar

Re: [XEN][PATCH 2/7] xen/domctl: introduce XEN_DOMCTL_CDF_is_32bits

2025-07-31 Thread Alejandro Vallejo
On Thu Jul 31, 2025 at 11:42 AM CEST, Grygorii Strashko wrote: > From: Grygorii Strashko > > This patch follows discussion [1][2] which is pointed to "historical" issue > present in Xen and related to creating domains sequence on 64bit Arches > which allows running both 64/32bit guests (like AArch

Re: [XEN][PATCH 2/7] xen/domctl: introduce XEN_DOMCTL_CDF_is_32bits

2025-07-31 Thread Jan Beulich
On 31.07.2025 11:42, Grygorii Strashko wrote: > --- a/xen/arch/arm/domain.c > +++ b/xen/arch/arm/domain.c > @@ -613,7 +613,8 @@ int arch_sanitise_domain_config(struct > xen_domctl_createdomain *config) > unsigned int flags_required = (XEN_DOMCTL_CDF_hvm | XEN_DOMCTL_CDF_hap); > unsigned

[XEN][PATCH 2/7] xen/domctl: introduce XEN_DOMCTL_CDF_is_32bits

2025-07-31 Thread Grygorii Strashko
From: Grygorii Strashko This patch follows discussion [1][2] which is pointed to "historical" issue present in Xen and related to creating domains sequence on 64bit Arches which allows running both 64/32bit guests (like AArch64): Now, during Xen boot or by toolstack, the domain is always created