[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 5/6] ARM: Dummy Virtual Machine platform support



Hi Stefano,

On Tue, Dec 18, 2012 at 12:04:38PM +0000, Stefano Stabellini wrote:
> On Mon, 17 Dec 2012, Will Deacon wrote:
> > From: Marc Zyngier <marc.zyngier@xxxxxxx>
> > 
> > Add support for the smallest, dumbest possible platform, to be
> > used as a guest for KVM or other hypervisors.
> > 
> > It only mandates a GIC and architected timers. Fits nicely with
> > a multiplatform zImage. Uses very little silicon area.
> > 
> > Signed-off-by: Marc Zyngier <marc.zyngier@xxxxxxx>
> > Signed-off-by: Will Deacon <will.deacon@xxxxxxx>
> > ---
> >  arch/arm/Kconfig            |  2 ++
> >  arch/arm/Makefile           |  1 +
> >  arch/arm/mach-virt/Kconfig  |  9 +++++++
> >  arch/arm/mach-virt/Makefile |  5 ++++
> >  arch/arm/mach-virt/virt.c   | 65 
> > +++++++++++++++++++++++++++++++++++++++++++++
> >  5 files changed, 82 insertions(+)
> >  create mode 100644 arch/arm/mach-virt/Kconfig
> >  create mode 100644 arch/arm/mach-virt/Makefile
> >  create mode 100644 arch/arm/mach-virt/virt.c
> 
> Should it come along with a DTS?

The only things the platform needs are GIC, timers, memory and a CPU.
Furthermore, the location, size, frequency etc properties of these aren't
fixed, so a dts would be fairly useless because it will probably not match
the particular mach-virt instance you're targetting.

For kvmtool, I've been generating the device-tree at runtime based on how
kvmtool is invoked and it's been working pretty well so far.

Will

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.