[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 3/3] xen: introduce CONFIG_HAS_DOMAIN_TYPE





On 4/27/26 11:21 AM, Orzel, Michal wrote:


On 24-Apr-26 3:36 PM, Oleksii Kurochko wrote:
As domain type is part of common code now there is no any reason
NIT: remove "any" after "no"

to have architecture-specific set_domain_type() functions so
it is dropped.

Change the guard around access of kinfo->type to CONFIG_HAS_DOMAIN_TYPE
for consistency. Also, drop and add some parentheses to be aligned
with the similar if() below.

x86 with CONFIG_64BIT=y shouldn't use is_{32,64}bit_domain() as
x86 doesn't have support of CONFIG_HAS_DOMAIN_TYPE. Since x86_32 Xen no
longer builds, the fallback is currently only relevant for arm32.

Signed-off-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
You don't seem to remove enum domain_type type from struct arch_domain which is
now unused. With that removed:

Oh, right. I dropped it only from struct kernel_info. I will drop it.

Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>

Thanks.

~ Oleksii



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.