From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: RFC: EFER in crash notes Date: Tue, 25 Sep 2012 16:01:32 +0100 Message-ID: References: <5061C556.60406@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5061C556.60406@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper , Ian Campbell Cc: Jan Beulich , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On 25/09/2012 15:53, "Andrew Cooper" wrote: >> I suppose the size field in the notes is a sort of rudimentary version >> field. Remember you can always add a new note type though. > > Yes, although looking through my code, I do raise an error if > sizeof(note->desc) != sizeof(my structure representing this note), which > was put in with the best of intentions, but will break with the this RFC > change. > > On the other hand, adding a new crash note for every new register will > not scale well, as it is per PCU. > > I guess the only sensible way to continue is to present a formal public ABI. That seems a good idea. -- Keir