[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] x86/pv: Fix construction of 32bit dom0's
On Thu, Feb 07, 2019 at 05:58:56AM -0700, Jan Beulich wrote: > >>> On 06.02.19 at 21:41, <andrew.cooper3@xxxxxxxxxx> wrote: > > Slightly RFC: > > > > 1) I've not worked out exactly what the > > > > v->vcpu_info = (void *)&d->shared_info->compat.vcpu_info[0]; > > > > line is supposed to be doing and whether it is needed, but it doesn't > > appear to matter. It is perhaps another redundant opencoding. > > Afaict this is just to be independent of the fact that the vcpu_info > array is first in struct shared_info. I'd be fine with it getting replaced > by a respective BUILD_BUG_ON(), but I'd like to ask that it not be > dropped without replacement. What do you mean by "be independent of" here? Perhaps you meant "be sure of"? But I still fail to understand how would an assignment makes sure a member is first in a struct. Wei. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |