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] [PATCH] Elf loader fixes

To: "Gerd Hoffmann" <kraxel@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Elf loader fixes
From: "Jacob Gorm Hansen" <jacobg@xxxxxxx>
Date: Wed, 22 Feb 2006 17:25:12 +0100
Cc: Xen devel list <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>
Delivery-date: Wed, 22 Feb 2006 16:26:32 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ugh8unjSpRHDYnLx/3JyG/okAC47uaZ9vBlj0tXAo25ePKLwRBcj7CTi7aqz0sHvh7hhPykIEujpThsyJNch+dnykEboQGZXWWU9Jqcaok25XiBAFHGY/kf7L5Iiys2nihL+/GQKVg1g2g1pSOeRlFVG8b/RUNTbIeacM4O65dg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43FC8D02.5020908@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <43FC4CF6.2010603@xxxxxxx> <43FC6C62.76F0.0078.0@xxxxxxxxxx> <43FC7F59.7030503@xxxxxxx> <43FC919C.76F0.0078.0@xxxxxxxxxx> <43FC8D02.5020908@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 2/22/06, Gerd Hoffmann <kraxel@xxxxxxx> wrote:

> As I see things there are basically two ways to fixup this: Either
> create a simple linear mapping using paddr + VIRT_BASE, which would be
> pretty close to the current behaviour (and other boot loaders). Or do a
> complete virtual memory setup, which probably can't be done without
> major changes in the domain builder ...

hi,

as previously mentioned here and at the XenSummit, I have a simple yet
functioning domU bootloader which defers ELF-decoding to domU-space.
It currently only works when the input is a ramdisk image, created
with a small tool called 'pack. It used to work from a TCP-connection
(provided by the fabulous UIP which is still in my tree), hence the
weird state-machine look of the code.

I suppose taking this approach could solve all our domU-building woes
for good. It should also provide a more elegant solution to the
attestation problems the Intel guys were talking about and trying to
solve with their two-stage domain building proposal.

Clone my tree at http://www.distlab.dk/hg/index.cgi/xen-gfx.hg and
have a look at the extras/mstrap subdir. The 'pack' tool is in
tools/migrate.

You will need Jam to build, or you have to roll your own Makefile. The
tree also contains my very experimental 'Blink' display system as
demoed at the Summit in tools/gfx, and my self-migration patch to
XenLinux which at the moment is mostly useful for self-checkpointing
to disk (see tools/minimig.c). Your mileage may vary.

Jacob

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel