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] about __XEN_VIRT_START and 0x100000

To: Lin-Bao Zhang <2004.zhang@xxxxxxxxx>
Subject: Re: [Xen-devel] about __XEN_VIRT_START and 0x100000
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Fri, 19 Aug 2011 08:43:32 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 19 Aug 2011 00:44:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CANuKePnk+WZpw542thpNmvG7zCwgz49S=TYvUSo_sVE02bFiDQ@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <CANuKePnk+WZpw542thpNmvG7zCwgz49S=TYvUSo_sVE02bFiDQ@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2011-08-19 at 08:27 +0100, Lin-Bao Zhang wrote:

> my question is that ,  what is xen-syms-2.6.18-268.el5(readelf result
> is virtual address)  used for ?  it seems that useless. grub.conf
> seems don't need it.

The -syms file is purely for debuggers (e.g. to run tools like gdb on)
because it contains full debug symbols etc it is never loaded by the
boot loader or anything like that.

The actual hypervisor binary (which is stripped, i.e. has no symbols) is
encapsulated in a 32 bit ELF file for compatibility with the multiboot
standard, which does not handle 64 bit ELF files. See
xen/arch/x86/boot/mkelf32.c and the Makefile runs which use it.

Ian.


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