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] bimodal PAE and compatibility

To: Gerd Hoffmann <kraxel@xxxxxxx>
Subject: Re: [Xen-devel] bimodal PAE and compatibility
From: John Levon <levon@xxxxxxxxxxxxxxxxx>
Date: Mon, 8 Jan 2007 15:16:09 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 08 Jan 2007 07:14:18 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45A25DC0.1040401@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: <20070108144932.GA1557@xxxxxxxxxxxxxxxxxxxxxxx> <45A25DC0.1040401@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Mon, Jan 08, 2007 at 04:05:36PM +0100, Gerd Hoffmann wrote:

> > We currently ship a PAE 32-bit domU that we can trivially make bimodal,
> > except that if we set it to "bimodal", then older Xens will default to
> > thinking the domU is not PAE:
> > 
> > 353     dsi->pae_kernel = PAEKERN_no;
> > 354     if ( dsi->__elfnote_section )
> > 355     {
> > 356         p = xen_elfnote_string(dsi, XEN_ELFNOTE_PAE_MODE);
> > 357         if ( p != NULL && strncmp(p, "yes", 3) == 0 )
> > 358             dsi->pae_kernel = PAEKERN_extended_cr3;
> > 
> > Could we have a new note instead?
> 
> I don't think it improves the situation, for older Xens you need two
> kernels anyway, even if the only difference is the content of the
> pae_mode elf note ...

What do you mean? Are you saying that Xen complains about an ELF note it
doesn't understand? That would be unfortunate.

john

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