Wed Apr 18 11:12:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

* src/test.c, src/libvirt.c, src/virterror.c,
	  include/libvirt/virterror.h: Add a VIR_FROM_TEST error class
	  and ensure that test driver errors are from this class.
	  Tidy up the error messages generated by the test driver when
	  user doesn't add a path to the URL and avoid open ("/").
This commit is contained in:
Richard W.M. Jones
2007-04-18 10:14:07 +00:00
parent 435ce72149
commit dbcc662ea3
6 changed files with 28 additions and 9 deletions

View File

@@ -49,6 +49,7 @@ typedef enum {
VIR_FROM_CONF, /* Error in the configuration file handling */
VIR_FROM_QEMU, /* Error at the QEMU daemon */
VIR_FROM_NET, /* Error when operating on a network */
VIR_FROM_TEST, /* Error from test driver */
} virErrorDomain;