On 09.12.2025 17:06, Grygorii Strashko wrote:
> On 09.12.25 17:57, Andrew Cooper wrote:
>> --- a/xen/arch/x86/domain.c
>> +++ b/xen/arch/x86/domain.c
>> @@ -891,7 +891,7 @@ int arch_domain_create(struct domain *d,
>>       d->arch.emulation_flags = emflags;
>>   
>>   #ifdef CONFIG_PV32
>> -    HYPERVISOR_COMPAT_VIRT_START(d) =
>> +    d->arch.hv_compat_vstart =
>>           is_pv_domain(d) ? __HYPERVISOR_COMPAT_VIRT_START : ~0u;
>>   #endif
> 
> Any chances it can be moved in pv_domain_initialise()?

Probably, but one thing at a time? The field itself would also want to move
from struct arch_domain to struct pv_domain, I think.

Jan

Reply via email to