WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Xen1.2 NetBSD port snapshot available and set_gdtpatch f

To: Christian Limpach <chris@xxxxxx>
Subject: Re: [Xen-devel] Xen1.2 NetBSD port snapshot available and set_gdtpatch for Xen1.2
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 03 Feb 2004 23:27:21 +0000
Cc: rolf.neugebauer@xxxxxxxxx, Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 03 Feb 2004 23:29:17 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Tue, 03 Feb 2004 16:18:41 +0100." <0ab801c3ea69$027eb5b0$070414ac@pin>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> > It leaves the slight problem on how to deal with the shared files
> > (hypervisor-if.h and friends). If they are not in the main NetBSD tree
> > the port won't compile. If the NetbSD source contains a copy it is more
> > difficult to maintain consistency. I'm more in favour of having a copy
> > in the NetBSD tree as it allows compilation directly from the CVS.
> 
> yes, I've chosen to include the interface header files.  We have
> autobuilders which regularly build all ports and those only work if
> everything is included.

Having the interface headers copied into the guest source tree makes
sense when building completely separately from Xen. For safety we
should add a version number to the interface header files and use that
to check the guest-OS build against the running Xen at guest boot
time. We've avoided this kind of issue up to now since we've only
had Linux fully ported to Xen so building the two together made
sense. 

> > address the consistency issue maybe we should add a version number to
> > hypervisor-if.h and friends and pass that down either as a separate
> > hypercall (i.e., a new domain has to 'register' with Xen) or as part of
> > a infrequently use hypercall (like set_trap_table). we can do the same
> > for the 'device driver' interface.
> 
> Or try to keep the interface changes to a minimum and keep backwards
> compatibility.  I know that's sometimes a pain but I've also found that it
> leads to better interfaces if you have to be careful when adding/changing
> interfaces...

Although some parts are now pretty stable, others are going to be in
flux for a while yet. For example -- the I/O interface is likely to
change somewhat when device drivers are pulled out into isolated
domains. Also new bidirectional console support; the CPU-management
interface (when we add support for SMP guests); ... In general we're
treating the existing interface as a rough prototype and improving it
as we address the weaknesses in each Xen subsystem (e.g., I/O, memory
management, CPU abstraction). This work is still ongoing. However, we
will try harder to minimise the effect on guest OSes now that others
are using the Xen interfaces. :-)

 -- Keir


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel