On 04.01.2021 18:41, Tamas K Lengyel wrote: > --- a/xen/arch/x86/mm/mem_sharing.c > +++ b/xen/arch/x86/mm/mem_sharing.c > @@ -1764,6 +1764,7 @@ static int fork(struct domain *cd, struct domain *d) > > domain_pause(d); > cd->max_pages = d->max_pages; > + memcpy(cd->arch.cpuid, d->arch.cpuid, sizeof(*d->arch.cpuid));
Can such copying please be done using assignment rather than memcpy(), for the added type safety? (I wouldn't mind doing this while committing, so long as you don't mind.) Jan