From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel De Graaf Subject: Re: [PATCH v3 01/24] xen: Extend DOMCTL createdomain to support arch configuration Date: Tue, 13 Jan 2015 10:08:10 -0500 Message-ID: <54B534DA.6020201@tycho.nsa.gov> References: <1421159133-31526-1-git-send-email-julien.grall@linaro.org> <1421159133-31526-2-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YB35H-00077c-M8 for xen-devel@lists.xenproject.org; Tue, 13 Jan 2015 15:08:43 +0000 In-Reply-To: <1421159133-31526-2-git-send-email-julien.grall@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 , xen-devel@lists.xenproject.org Cc: Keir Fraser , ian.campbell@citrix.com, George Dunlap , tim@xen.org, Ian Jackson , stefano.stabellini@citrix.com, Jan Beulich , Andrew Cooper , Wei Liu List-Id: xen-devel@lists.xenproject.org On 01/13/2015 09:25 AM, Julien Grall wrote: > On ARM the virtual GIC may differ between each guest (emulated GIC version, > number of SPIs...). Those informations are already known at the domain creation > and can never change. > > For now only the gic_version is set. In long run, there will be more parameters > such as the number of SPIs. All will be required to be set at the same time. > > A new arch-specific structure arch_domainconfig has been created, the x86 > one doesn't have any specific configuration, a dummy structure > (C-spec compliant) has been created to factorize the code on the toolstack. > > Some external tools (qemu, xenstore) may require to create a domain. Rather > than asking them to take care of the arch-specific domain configuration, let > the current function (xc_domain_create) to chose a default configuration and > introduce a new one (xc_domain_create_config). > > This patch also drop the previously DOMCTL arm_configure_domain introduced > in Xen 4.5, as it has been made useless. > > Signed-off-by: Julien Grall Acked-by: Daniel De Graaf