From: Ian Campbell Subject: Re: [PATCH v4 16/17] libxl: build a device tree for ARM guests Date: Wed, 13 Nov 2013 10:04:34 +0000 Message-ID: <1384337074.5406.29.camel@kazak.uk.xensource.com> References: <1384277936.10204.111.camel@kazak.uk.xensource.com> <1384277960-14426-16-git-send-email-ian.campbell@citrix.com> <21122.28207.285211.170832@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21122.28207.285211.170832@mariner.uk.xensource.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: Ian Jackson Cc: stefano.stabellini@eu.citrix.com, tim@xen.org, julien.grall@linaro.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, 2013-11-12 at 18:06 +0000, Ian Jackson wrote: > Ian Campbell writes ("[PATCH v4 16/17] libxl: build a device tree for ARM guests"): > > Uses xc_dom_devicetree_mem which was just added. The call to this needs to be > > carefully sequenced to be after xc_dom_parse_image (so we can tell which kind > > of guest we are building, although we don't use this yet) and before > > xc_dom_mem_init which tries to decide where to place the FDT in guest RAM. > > > > Removes libxl_noarch which would only have been used by IA64 after this > > change. Remove IA64 as part of this patch. > > > > There is no attempt to expose this as a configuration setting for the user. > > > > Includes a debug hook to dump the dtb to a file for inspection. > ... > > The debug dump function has an anomalous error handling style[1] and > still leaks fd under some conditions. Oh balls, I thought about all this but neglected to do the actual typing! > (Sorry to find problems only in an unimportant debug function...) No worries, you had already raised them and I should have done something about it...