[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.