From mboxrd@z Thu Jan 1 00:00:00 1970 From: Isaku Yamahata Subject: Re: [Xen-devel] [PATCH 0/2] dump-core take 3 Date: Sun, 21 Jan 2007 23:02:23 +0900 Message-ID: <20070121140223.GA28535%yamahata@valinux.co.jp> References: <20070121074652.23834.28219.sendpatchset@ls.local.valinux.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-ia64-devel-bounces@lists.xensource.com Errors-To: xen-ia64-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-ia64-devel@lists.xensource.com, xen-devel@lists.xensource.com, Dave Anderson , John Levon List-Id: xen-devel@lists.xenproject.org On Sun, Jan 21, 2007 at 10:05:42AM +0000, Keir Fraser wrote: > Can you give some description of your Elf format? If we plan to use Elf for > save/restore as well, it would be nice to pick a format that is > generalisable to both cases. I'll document it. > The use of program headers seems weird (since > there is no sensible 'virtual address' to specify, as the Xen core dump > format is not defined in the context of a simple single address space) and > is going to be no use for live migration where we need to be able to specify > GPFN-GMFN relationships on the fly, presumably in a custom section format. Hmm. It seems the time to change my mind. So John was right. I'll change the format to use sections instead of program headers. 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 > Are there any tools to parse this new dump format, or will we have to wait > for the crash utility and xc_ptrace_core() to catch up? No. I'll work on xc_ptrace_core() unless someone else does. Probably it would be after ia64 support. -- yamahata