From: Ian Campbell Subject: Re: [PATCH v2 08/21] xen/arm: Initialize the virtual GIC later Date: Wed, 10 Sep 2014 11:08:09 +0100 Message-ID: <1410343689.8217.288.camel@kazak.uk.xensource.com> References: <1406818852-31856-1-git-send-email-julien.grall@linaro.org> <1406818852-31856-9-git-send-email-julien.grall@linaro.org> <1410269732.8217.181.camel@kazak.uk.xensource.com> <540F4D97.5020202@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XReox-0002FC-0P for xen-devel@lists.xenproject.org; Wed, 10 Sep 2014 10:08:15 +0000 In-Reply-To: <540F4D97.5020202@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: Stefano Stabellini , Ian Jackson , tim@xen.org, stefano.stabellini@citrix.com, Jan Beulich , xen-devel@lists.xenproject.org, Daniel De Graaf List-Id: xen-devel@lists.xenproject.org On Tue, 2014-09-09 at 11:57 -0700, Julien Grall wrote: > Hi Ian, > > On 09/09/14 06:35, Ian Campbell wrote: > > On Wed, 2014-08-06 at 16:35 +0100, Stefano Stabellini wrote: > > > >>> +#if defined(__arm__) || defined(__arch64__) > >>> +int xc_domain_configure(xc_interface *xch, uint32_t domid, > >>> + uint32_t nr_spis) > >> > >> Given that we'll likely add new fields to xen_domctl_configuredomain, I > >> think it is best if we pass a struct domain_configure to > >> xc_domain_configure instead of nr_spis. The struct we pass to > >> xc_domain_configure doesn't have to be identical to struct > >> xen_domctl_configuredomain, but at the moment it would be. > > > > In that case you may as well inline the domctl call into > > arch_domain_create_pre, which I don't think is a bad idea. > > It will be hard. Libxl doesn't have access to the facility for create > bounce buffer... Ah, nevermind then. Passing the struct as a ptr as Stefano suggests would probably be good though. Ian.