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

Re: [Libvir] [PATCH] Remote 0/8: Plan

On Wed, May 02, 2007 at 07:08:28PM +0100, Richard W.M. Jones wrote:
> Richard W.M. Jones wrote:
> >1 Additional error handling
> >---------------------------
> >
> >M include/libvirt/virterror.h
> >M src/virterror.c
> Attached is the patch to add the additional types of errors to 
> virterror.  VIR_FROM_REMOTE indicates that the error originated in the 
> remote driver.  There are two further subclasses for general RPC-related 
> errors and GnuTLS-related errors.

Ack, trivial patch makes sense.

> Note that if a regular error (eg. VIR_FROM_XEN) is generated on the 
> server side it is passed through the connection to the client 
> transparently (there is no "wrapping" of errors or anything like that).

That sounds very good - all existing error handling should work correctly
in that respect.

|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

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