From: Ian Campbell Subject: Re: [PATCH 00/04] Kexec / Kdump: Release 20061122 (xen-unstable-12502) Date: Wed, 29 Nov 2006 11:06:48 +0000 Message-ID: <1164798408.3336.237.camel@localhost.localdomain> References: <20061122071050.24010.92547.sendpatchset@localhost> <1164219848.12608.78.camel@localhost.localdomain> <456B03FE.171DE907@redhat.com> <456C413A.9B2DD113@redhat.com> <1164792998.3336.231.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Magnus Damm Cc: Ian Pratt , Kazuo Moriwaka , xen-devel@lists.xensource.com, Akio Takebe , Isaku Yamahata , Magnus Damm , Horms , Dave Anderson List-Id: xen-devel@lists.xenproject.org On Wed, 2006-11-29 at 19:59 +0900, Magnus Damm wrote: > > If you wanted to you could use a bit of the existing "Xen" namespace. It > > is currently only used by notes which are consumed by the domain > > builder. They are defined in xen/include/public/elfnote.h. > > Sounds like a good idea. What about: > > #define XEN_ELFNOTE_CRASH_INFO 13 /* system information */ > #define XEN_ELFNOTE_CRASH_REGS 14 /* per-cpu system registers */ Perhaps use 0x1000001 and 0x1000002 to distinguish the types of notes? (we could rewrite the existing notes as 0x0000000x to make this clearer) > The types will map to data structures instead of single numeric values > or strings though, but maybe that is ok. That's fine. Ultimately I'd like to get the data structures in there too but don't worry about that for now. Ian.