Commit d3ed8dcf authored by Pino Toscano's avatar Pino Toscano Committed by Richard W.M. Jones

Synchronize Virterror with libvirt 5.2.0

Signed-off-by: Pino Toscano's avatarPino Toscano <ptoscano@redhat.com>
parent 5b59cdd2
......@@ -248,6 +248,9 @@ struct
| VIR_ERR_DEVICE_MISSING
| VIR_ERR_INVALID_NWFILTER_BINDING
| VIR_ERR_NO_NWFILTER_BINDING
| VIR_ERR_INVALID_DOMAIN_CHECKPOINT
| VIR_ERR_NO_DOMAIN_CHECKPOINT
| VIR_ERR_NO_DOMAIN_BACKUP
| VIR_ERR_UNKNOWN of int
let string_of_code = function
......@@ -353,6 +356,9 @@ struct
| VIR_ERR_DEVICE_MISSING -> "VIR_ERR_DEVICE_MISSING"
| VIR_ERR_INVALID_NWFILTER_BINDING -> "VIR_ERR_INVALID_NWFILTER_BINDING"
| VIR_ERR_NO_NWFILTER_BINDING -> "VIR_ERR_NO_NWFILTER_BINDING"
| VIR_ERR_INVALID_DOMAIN_CHECKPOINT -> "VIR_ERR_INVALID_DOMAIN_CHECKPOINT"
| VIR_ERR_NO_DOMAIN_CHECKPOINT -> "VIR_ERR_NO_DOMAIN_CHECKPOINT"
| VIR_ERR_NO_DOMAIN_BACKUP -> "VIR_ERR_NO_DOMAIN_BACKUP"
| VIR_ERR_UNKNOWN i -> "VIR_ERR_" ^ string_of_int i
type domain =
......@@ -424,6 +430,8 @@ struct
| VIR_FROM_PERF
| VIR_FROM_LIBSSH
| VIR_FROM_RESCTRL
| VIR_FROM_FIREWALLD
| VIR_FROM_DOMAIN_CHECKPOINT
| VIR_FROM_UNKNOWN of int
let string_of_domain = function
......@@ -495,6 +503,8 @@ struct
| VIR_FROM_PERF -> "VIR_FROM_PERF"
| VIR_FROM_LIBSSH -> "VIR_FROM_LIBSSH"
| VIR_FROM_RESCTRL -> "VIR_FROM_RESCTRL"
| VIR_FROM_FIREWALLD -> "VIR_FROM_FIREWALLD"
| VIR_FROM_DOMAIN_CHECKPOINT -> "VIR_FROM_DOMAIN_CHECKPOINT"
| VIR_FROM_UNKNOWN i -> "VIR_FROM_" ^ string_of_int i
type level =
......
......@@ -1478,6 +1478,9 @@ sig
| VIR_ERR_DEVICE_MISSING
| VIR_ERR_INVALID_NWFILTER_BINDING
| VIR_ERR_NO_NWFILTER_BINDING
| VIR_ERR_INVALID_DOMAIN_CHECKPOINT
| VIR_ERR_NO_DOMAIN_CHECKPOINT
| VIR_ERR_NO_DOMAIN_BACKUP
(* ^^ NB: If you add a variant you MUST edit
libvirt_c_epilogue.c:MAX_VIR_* *)
| VIR_ERR_UNKNOWN of int (** Other error, not handled with existing values. *)
......@@ -1554,6 +1557,8 @@ sig
| VIR_FROM_PERF
| VIR_FROM_LIBSSH
| VIR_FROM_RESCTRL
| VIR_FROM_FIREWALLD
| VIR_FROM_DOMAIN_CHECKPOINT
(* ^^ NB: If you add a variant you MUST edit
libvirt_c_epilogue.c: MAX_VIR_* *)
| VIR_FROM_UNKNOWN of int (** Other domain, not handled with existing values. *)
......
......@@ -143,8 +143,8 @@ Val_virconnectcredential (const virConnectCredentialPtr cred)
* to convert it into VIR_*_UNKNOWN (code).
*/
#define MAX_VIR_CODE 101 /* VIR_ERR_NO_NWFILTER_BINDING */
#define MAX_VIR_DOMAIN 67 /* VIR_FROM_RESCTRL */
#define MAX_VIR_CODE 104 /* VIR_ERR_NO_DOMAIN_BACKUP */
#define MAX_VIR_DOMAIN 69 /* VIR_FROM_DOMAIN_CHECKPOINT */
#define MAX_VIR_LEVEL VIR_ERR_ERROR
static inline value
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment