From: Ian Campbell Subject: Re: [PATCH v2] tools: implement initial ramdisk support for ARM. Date: Fri, 4 Apr 2014 16:20:15 +0100 Message-ID: <1396624815.4211.265.camel@kazak.uk.xensource.com> References: <1396618125-1623-1-git-send-email-ian.campbell@citrix.com> <533ECCC3.1010404@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <533ECCC3.1010404@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: Ian Jackson , stefano.stabellini@eu.citrix.com, tim@xen.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Fri, 2014-04-04 at 16:16 +0100, Julien Grall wrote: > > @@ -326,7 +364,6 @@ int xc_dom_feature_translated(struct xc_dom_image *dom) > > * mode: C > > * c-file-style: "BSD" > > * c-basic-offset: 4 > > - * tab-width: 4 > > Does it mean that nearly every emacs magic are wrong on the other files? I thought there weren't many others, but looking again I'm wrong. I think I may have been thinking of "indent-tabs-mode: nil". I think my emacs must have been playing up when I first edited this file and I confused myself into thinking this change had fixed it. > > diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl_dom.c > > index 36e70b5..c3fa439 100644 > > --- a/tools/libxl/libxl_dom.c > > +++ b/tools/libxl/libxl_dom.c > > @@ -407,8 +407,8 @@ int libxl__build_pv(libxl__gc *gc, uint32_t domid, > > LOGE(ERROR, "xc_dom_parse_image failed"); > > goto out; > > } > > - if ( (ret = libxl__arch_domain_configure(gc, info, dom)) != 0 ) { > > - LOGE(ERROR, "libxl__arch_domain_configure failed"); > > + if ( (ret = libxl__arch_domain_init_hw_description(gc, info, dom)) != 0 ) { > > Should not it be ((..))? It seems the function is using 2 different > coding style. Looks like some Xen list braces have slipped in here. Probably best for this new addition to be consistent with the surroundings though. Ian.