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 0/2] dump-core take 3

To: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0/2] dump-core take 3
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Mon, 22 Jan 2007 01:23:43 +0900
Cc: John Levon <levon@xxxxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Dave Anderson <anderson@xxxxxxxxxx>, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 21 Jan 2007 08:23:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C1D93725.790C%keir@xxxxxxxxxxxxx>
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: <20070121140223.GA28535%yamahata@xxxxxxxxxxxxx> <C1D93725.790C%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Sun, Jan 21, 2007 at 03:28:37PM +0000, Keir Fraser wrote:
> > Before coding, I'd like to clarify sections.
> > (If you have more preferable names, please suggest.
> > I don't stick to the following names.)
> > - .Xen.core_header
> > - .Xen.vcpu_context
> >    Or elf note section should be used for the core header and vcpu context?
> > - .Xen.p2m for non-auto translated physmode
> > - .Xen.pfn for auto translated physmode
> >    Or should Xen.p2m with PFN=GMFN be used?
> > - .Xen.pages
> 
> This looks fine for core dump format. I think we should go with notes for
> everything except GPFN-GMFN info and page data. Even those could go in a
> note as well really (although I suppose it would seem a bit odd). 
> If you
> pick your own name for core-dump elf notes, do you need to start the type
> numbers at 256? 

No. 256 doesn't have special meaning.
Just a number which doesn't used. See below.


> Seems to me you have your own brand new numbering space if
> you pick a new name.

Yes in thery.
Unfortunately binutils and elfutils don't see name.
They simply check number and report type.
So I thought that it was better to avoid the number which is commonly used.

-- 
yamahata

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