From: Ian Campbell Subject: Re: [PATCH v2 08/21] xen/arm: Initialize the virtual GIC later Date: Tue, 9 Sep 2014 14:35:32 +0100 Message-ID: <1410269732.8217.181.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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XRLa6-0005SB-1X for xen-devel@lists.xenproject.org; Tue, 09 Sep 2014 13:35:38 +0000 In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: Ian Jackson , Julien Grall , 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 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. Ian