From: Wei Liu Subject: Re: [PATCH v5 10/24] libxl: functions to build vmemranges for PV guest Date: Tue, 17 Feb 2015 15:32:00 +0000 Message-ID: <20150217153200.GG2159@zion.uk.xensource.com> References: <1423770294-9779-1-git-send-email-wei.liu2@citrix.com> <1423770294-9779-11-git-send-email-wei.liu2@citrix.com> <1424186893.4235.78.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: <1424186893.4235.78.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 03:28:15PM +0000, Dario Faggioli wrote: > On Thu, 2015-02-12 at 19:44 +0000, Wei Liu wrote: > > > --- a/tools/libxl/libxl_x86.c > > +++ b/tools/libxl/libxl_x86.c > > @@ -339,6 +339,79 @@ int libxl__arch_domain_finalise_hw_description(libxl__gc *gc, > > return 0; > > } > > > > +/* Return 0 on success, ERROR_* on failure. */ > > +int libxl__arch_vnuma_build_vmemrange(libxl__gc *gc, > > + uint32_t domid, > > + libxl_domain_build_info *b_info, > > + libxl__domain_build_state *state) > > > The doc comment does not look super useful as it is... ERRROR_* is > ERROR_NOMEM, right? > It could also be ERROR_FAIL, if e820_host_sanitize fails. > Perhaps say that, along with a few words on when it happens (or just get > rid of the comment entiretly) > > In any case, > > Reviewed-by: Dario Faggioli > Thanks. Wei. > Dario