[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 5/8] dm_op: convert HVMOP_modified_memory
> -----Original Message----- > From: Jan Beulich [mailto:JBeulich@xxxxxxxx] > Sent: 13 January 2017 11:51 > To: Paul Durrant <Paul.Durrant@xxxxxxxxxx> > Cc: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>; Ian Jackson > <Ian.Jackson@xxxxxxxxxx>; xen-devel@xxxxxxxxxxxxxxxxxxxx; Daniel De Graaf > <dgdegra@xxxxxxxxxxxxx> > Subject: Re: [PATCH v3 5/8] dm_op: convert HVMOP_modified_memory > > >>> On 12.01.17 at 15:58, <paul.durrant@xxxxxxxxxx> wrote: > > v3: > > - Addressed more comments from Jan. > > I'd have hoped you would extend these earlier comments to other > applicable places, i.e. for this patch ... > > > +static int modified_memory(struct domain *d, xen_pfn_t *first_pfn, > > + unsigned int *nr) > > +{ > > + xen_pfn_t last_pfn = *first_pfn + *nr - 1; > > + unsigned int iter; > > + int rc; > > + > > + if ( (*first_pfn > last_pfn) || > > + (last_pfn > domain_get_maximum_gpfn(d)) ) > > + return -EINVAL; > > + > > + if ( !paging_mode_log_dirty(d) ) > > + return 0; > > + > > + iter = 0; > > + rc = 0; > > ... here (these would again better be initializers of the respective > variables). But anyway, hypervisor parts > Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> > Ok, I can make the change in v4... just waiting for Andrew's latest opinion on patch #1. Paul > Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |