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