mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Fri Jul 6 15:54:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* include/libvirt/virterror.h, src/virterror.c, src/libvirt.c: Add VIR_ERR_NO_DOMAIN and VIR_ERR_NO_NETWORK errors, which indicate that there is no domain/network from vir*Lookup* functions. * src/qemu_driver.c: Use VIR_ERR_NO_DOMAIN in lookup functions. * src/test.c: Use VIR_ERR_NO_DOMAIN in lookup functions.
This commit is contained in:
@@ -125,6 +125,8 @@ typedef enum {
|
||||
VIR_ERR_RPC, /* some sort of RPC error */
|
||||
VIR_ERR_GNUTLS_ERROR, /* error from a GNUTLS call */
|
||||
VIR_WAR_NO_NETWORK, /* failed to start network */
|
||||
VIR_ERR_NO_DOMAIN, /* domain not found or unexpectedly disappeared */
|
||||
VIR_ERR_NO_NETWORK, /* network not found */
|
||||
} virErrorNumber;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user