From: Wei Liu Subject: Re: [PATCH v5 17/24] libxl: build, check and pass vNUMA info to Xen for HVM guest Date: Tue, 17 Feb 2015 14:41:58 +0000 Message-ID: <20150217144158.GF2159@zion.uk.xensource.com> References: <1423770294-9779-1-git-send-email-wei.liu2@citrix.com> <1423770294-9779-18-git-send-email-wei.liu2@citrix.com> <1424183181.4235.69.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1424183181.4235.69.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dario Faggioli Cc: Wei Liu , "JBeulich@suse.com" , Andrew Cooper , "xen-devel@lists.xen.org" , "ufimtseva@gmail.com" , Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org On Tue, Feb 17, 2015 at 02:26:23PM +0000, Dario Faggioli wrote: > On Thu, 2015-02-12 at 19:44 +0000, Wei Liu wrote: > > > --- a/tools/libxc/xc_hvm_build_x86.c > > +++ b/tools/libxc/xc_hvm_build_x86.c > > @@ -407,7 +407,7 @@ static int setup_guest(xc_interface *xch, > > new_memflags |= XENMEMF_exact_node_request; > > } > > > > - end_pages = args->vmemranges[i].end >> PAGE_SHIFT; > > + end_pages = args->vmemranges[vmemid].end >> PAGE_SHIFT; > > > What's this? I suspect this should be using vmemid already in patch 16, > shouldn't it? > This hunk belongs to previous patch. It should be squashed to previous one. > Other than this, > > Reviewed-by: Dario Faggioli > Thanks. Wei. > Regards, > Dario