From: Ian Campbell Subject: Re: [PATCH v3 11/14] libxc: allow passing a device tree blob to the guest Date: Tue, 12 Nov 2013 10:46:36 +0000 Message-ID: <1384253196.1883.43.camel@kazak.uk.xensource.com> References: <1383842678.3189.15.camel@kazak.uk.xensource.com> <1383842696-8598-11-git-send-email-ian.campbell@citrix.com> <21115.51502.561024.700703@mariner.uk.xensource.com> <1383844253.3189.20.camel@kazak.uk.xensource.com> <21115.52853.795134.319201@mariner.uk.xensource.com> <1383846140.3189.28.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1383846140.3189.28.camel@kazak.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: xen-devel@lists.xen.org, julien.grall@linaro.org, tim@xen.org, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Thu, 2013-11-07 at 17:42 +0000, Ian Campbell wrote: > On Thu, 2013-11-07 at 17:31 +0000, Ian Jackson wrote: > > Ian Campbell writes ("Re: [PATCH v3 11/14] libxc: allow passing a device tree blob to the guest"): > > > On Thu, 2013-11-07 at 17:09 +0000, Ian Jackson wrote: > > > > But AFAICT you fail to reject DTBs on x86, and don't arrange to > > > > provide them to the kernel either. > > > > > > It'd have to reject it, since DTB isn't used much on x86 outside of > > > specific embedded use case, would an ifdef be acceptable? > > > > I don't particularly mind how it's done. You could define an > > always-failing DTB function in the x86 libxc code, alternatively. > > I'll have a dig and see which feels more natural in the context. I went with the ifdef since it seemed most natural to keep most of this functionality in xc_dom_core alongside all the other stuff for kernels and initrds etc. Ian.