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

Richard W.M. Jones rjones at redhat.com
Wed May 2 18:08:28 UTC 2007

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.

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).


Emerging Technologies, Red Hat  http://et.redhat.com/~rjones/
64 Baker Street, London, W1U 7DF     Mobile: +44 7866 314 421

Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.
Registered in England and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA) and David
Owens (Ireland)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-remote-1of8-20070502.patch
Type: text/x-patch
Size: 1928 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070502/0587f7a5/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070502/0587f7a5/attachment-0003.bin>

More information about the libvir-list mailing list