From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754422Ab2ITMB3 (ORCPT ); Thu, 20 Sep 2012 08:01:29 -0400 Received: from smtp.ctxuk.citrix.com ([62.200.22.115]:63220 "EHLO SMTP.EU.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754190Ab2ITMB2 (ORCPT ); Thu, 20 Sep 2012 08:01:28 -0400 X-IronPort-AV: E=Sophos;i="4.80,453,1344211200"; d="scan'208";a="14654619" Date: Thu, 20 Sep 2012 13:00:38 +0100 From: Stefano Stabellini X-X-Sender: sstabellini@kaball.uk.xensource.com To: David Vrabel CC: Stefano Stabellini , "linux-kernel@vger.kernel.org" , "xen-devel@lists.xensource.com" , Ian Campbell , Pawel Moll , "konrad.wilk@oracle.com" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [Xen-devel] [PATCH] arm: introduce a DTS for Xen unprivileged virtual machines In-Reply-To: <505AF3E5.1050306@citrix.com> Message-ID: References: <1348076658-4511-1-git-send-email-stefano.stabellini@eu.citrix.com> <505AF3E5.1050306@citrix.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 20 Sep 2012, David Vrabel wrote: > On 19/09/12 18:44, Stefano Stabellini wrote: > > --- /dev/null > > +++ b/arch/arm/boot/dts/vexpress-xenvm-4.2.dts > > Does this make sense? There is no fixed configuration for VMs. > > Is the intention to pass a DTS to the toolstack for it to create the VM > with the appropriate amount of memory and peripheral mapped to the right > place etc? Or is the toolstack going to create the VM and generate the > DTB from (e.g.,) an xl VM configuration file. > > > + > > + hypervisor { > > + compatible = "xen,xen-4.2", "xen,xen"; > > + reg = <0xb0000000 0x20000>; > > + interrupts = <1 15 0xf08>; > > + }; > > This node needs to be generated by the toolstack as only it knows what > ABI the hypervisor has. This DTS is going to be genereted by the toolstack (or the hypervisor). We don't expect people to take this exact DTS and use it for Xen VMs. However it is useful to have it in the Linux tree as a reference. Of course the amount of memory and the position of the memory region under the hypervisor node can change.