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

[Xen-devel] Re: [PATCH] Expose exception thrown by xen.lowlevel.xs (Was

To: Anthony Liguori <aliguori@xxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH] Expose exception thrown by xen.lowlevel.xs (Was Re: [PATCH] Expose exception thrown by xen.lowlevel.xc)
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Thu, 1 Jun 2006 12:13:39 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Kaleb Pederson <kibab@xxxxxxxxxxxx>
Delivery-date: Thu, 01 Jun 2006 04:47:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <446DF3C1.90203@xxxxxxxxxx>
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: <446DEF69.1010206@xxxxxxxxxx> <20060519163153.GA7805@xxxxxxxxxxxxxxxxxxxxxx> <446DF3C1.90203@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Fri, May 19, 2006 at 11:35:13AM -0500, Anthony Liguori wrote:

> Ewan Mellor wrote:
> >On Fri, May 19, 2006 at 11:16:41AM -0500, Anthony Liguori wrote:
> >
> >  
> >>The attached patch exposes the exception thrown by xen.lowlevel.xc as 
> >>the type xen.lowlevel.xc.Error which is an exception that inherits from 
> >>RuntimeError.
> >>
> >>I only had a few minutes this morning so I didn't get to xen.lowlevel.xs 
> >>but hopefully someone else can use this as a guide on what needs to be 
> >>done.  If noone else gets to it, I'll be able to submit another one in 
> >>about a week.
> >>
> >>I've only done very basic testing but I don't expect that this should 
> >>break anything...
> >>    
> >
> >Thanks Anthony -- applied.
> >  
> 
> Got a little more time than I expected to.  This one's quite a bit more 
> invasive but I think it's needed to at least be consistent with 
> xen.lowlevel.xc.  I don't think we should be tossing an exception with 
> different formats (sometimes we threw a RuntimeError with (errno, msg) 
> and other times just a string--I've changed it to always be (errno, msg)).
> 
> Signed-off-by: Anthony Liguori <aliguori@xxxxxxxxxx>

Applied, thank you.

Ewan.

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Re: [PATCH] Expose exception thrown by xen.lowlevel.xs (Was Re: [PATCH] Expose exception thrown by xen.lowlevel.xc), Ewan Mellor <=