[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120920112102.GD2117@linaro.org>
Date: Thu, 20 Sep 2012 12:21:02 +0100
From: Dave Martin <dave.martin@...aro.org>
To: David Vrabel <david.vrabel@...rix.com>
Cc: Stefano Stabellini <stefano.stabellini@...citrix.com>,
xen-devel@...ts.xensource.com, Ian.Campbell@...rix.com,
Pawel Moll <pawel.moll@....com>, konrad.wilk@...cle.com,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [Xen-devel] [PATCH] arm: introduce a DTS for Xen unprivileged
virtual machines
On Thu, Sep 20, 2012 at 11:45:57AM +0100, 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.
That's a good point: the same applies to the command line. The toolstack
knows where the console and root device should be etc.: the kernel itself
shouldn't have static defaults for those.
Cheers
---Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists