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: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Wed, 22 Feb 2006 16:30:20 +0100
Cc: Xen devel list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 22 Feb 2006 15:42:48 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43FC7F59.7030503@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> Gerd Hoffmann <kraxel@xxxxxxx> 22.02.06 16:12:25 >>>
>Jan Beulich wrote:
>> I'm afraid this won't work for 64-bits, because of the way the vsyscall page 
>> gets set up there. If you dump the
program
>> headers you'll see that the respective segment is at an address close to the 
>> top of the address space, which would
make
>> the image appear to need nearly 2 Gb of memory (making the load fail if 
>> there's less than that available to the
>> domain).
>
>Hmm, who sets up the vsyscall mapping right now?  The linux kernel I
>guess?

Yes.

>The elf kernel loader certainly doesn't look like it cares much
>about virtual address (other than VIRT_BASE) ...

Correct. And the same applies to boot loaders.

Jan

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