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

[Xen-devel] Re: NetBSD port updated

To: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Subject: [Xen-devel] Re: NetBSD port updated
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sun, 08 Feb 2004 09:24:37 +0000
Cc: Christian Limpach <chris@xxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 08 Feb 2004 15:22:54 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Sun, 08 Feb 2004 09:19:56 GMT." <E1Apl6b-0001uB-00@xxxxxxxxxxxxxxxxxxxx>
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
> > > I think we should try to merge netbsd_build and linux_build into a
> > > 'guest_build' that autodetects based on kernel-image format.
> > 
> > yes...  but why are you not using the elf loader for Linux as well?  The
> > XenoGues format doesn't contain any additional information since the
> > 0xc0000000 is in the elf header...
> 
> The main purpose of the 'XenoGuess' header was to be able to
> detect people trying to load standard x86 kernel builds rather
> than x86-xeno ones. I guess we could achieve the same effect
> within the elf format e.g. by defining some special symbol the
> loader looks for.

An alternative is to have a modified Multiboot format where we embed a
very simple 'XenoGuest' header inside the Elf object file. We can then
confirm whether a given Elf file is suitable for loading by searching
for this header near the start. We can even add an enumeration, or
well-known text string, for OS type to make auto-detection easier
(assuming that some OSes will want slightly different conventions for
calling in).

 -- 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