Subject: Re: bouyer-xenamd64 merge (xen roadmap)
To: Christoph Egger <Christoph_Egger@gmx.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 11/19/2007 11:22:14
On Mon, Nov 19, 2007 at 10:39:04AM +0100, Christoph Egger wrote:
> On Monday 19 November 2007 09:47:05 Petar Bogdanovic wrote:
> > On Sat, Nov 17, 2007 at 09:15:47PM +0000, Alistair Crooks wrote:
> > > On Sat, Nov 17, 2007 at 06:21:12PM +0100, Manuel Bouyer wrote:
> > > > Hi,
> > > > bouyer-xenamd64 is now in quite good shape: a amd64 domU kernel runs
> > > > stable, and a dom0 kernel boots and can start a domU (I've still a bug
> > > > to track down which cause dom0 to panic under paging activity when
> > > > there are domUs running , but it shouldn't be too hard to track down).
> > > > The remaining item I want to do before merging to HEAD is investigate
> > > > whenever it's possible to use the new config(5) ifdef blocks to merge
> > > > back\ arch/xenamd64/conf to arch/amd64/conf and get rid of
> > > > arch/xenamd64 entirely. If it's possible some files would have to move,
> > > > but nothing much should change in C files.
> 
> @Manuel:
> How about moving the files from arch/xenamd64/ to arch/xen/amd64/  and placing
> files.xen_x86 in arch/xen/x86/, files.xen_xen in arch/xen/xen/, files.xen_i386
> in arch/xen/i386 and files.xen_amd64 in arch/xen/amd64/ and so on and so 
> forth. This should allow you to share a lot of entries for xen-i386 and 
> xen-amd64.

It's not that easy, because of the way config(8) works. It wants
arch/<machine>/conf/... This is what needs to be looked at carefully.

> 
> Then what about arch/xenamd64/include/hypercalls.h ? It looks to be completely
> unused to me.

It's included from xen/include/hypervisor.h.

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 26 ans d'experience feront toujours la difference
--