[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 5/8] viridian: use viridian_map/unmap_guest_page() for reference tsc page
> -----Original Message----- > From: Wei Liu [mailto:wei.liu2@xxxxxxxxxx] > Sent: 07 January 2019 15:48 > To: Paul Durrant <Paul.Durrant@xxxxxxxxxx> > Cc: Wei Liu <wei.liu2@xxxxxxxxxx>; xen-devel@xxxxxxxxxxxxxxxxxxxx; Roger > Pau Monne <roger.pau@xxxxxxxxxx>; Jan Beulich <jbeulich@xxxxxxxx>; Andrew > Cooper <Andrew.Cooper3@xxxxxxxxxx> > Subject: Re: [PATCH 5/8] viridian: use viridian_map/unmap_guest_page() for > reference tsc page > > On Mon, Jan 07, 2019 at 03:35:41PM +0000, Paul Durrant wrote: > [...] > > > > > const struct viridian_page *vp); > > > > > -void viridian_map_guest_page(struct vcpu *v, struct viridian_page > > > *vp); > > > > > +void viridian_map_guest_page(struct domain *d, struct > viridian_page > > > > *vp); > > > > > > > > Since you modify this anyway, can you constify struct domain? > > > > > > > > > > Yes, I guess that should be do-able now that the viridian_page is in a > > > separate allocation unit. > > > > Alas, no. The call to get_page_from_gfn() takes a non-const struct > domain pointer, and I'm not opening that can of worms. Does your R-b still > stand? > > Yes. Cool. Thanks :-) Paul > > 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 |