error: Introduce VIR_ERR_CHECKPOINT_INCONSISTENT error code

This code will be used to signal cases when the checkpoint is broken
either during backup or other operations where a user might want to make
decision based on the presence of the checkpoint, such as do a full
backup instead of an incremental one.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa
2020-11-03 11:57:58 +01:00
parent af7047717f
commit facfa8262e
2 changed files with 5 additions and 0 deletions

View File

@@ -332,6 +332,7 @@ typedef enum {
VIR_ERR_NETWORK_PORT_EXIST = 106, /* the network port already exist */
VIR_ERR_NO_NETWORK_PORT = 107, /* network port not found */
VIR_ERR_NO_HOSTNAME = 108, /* no domain's hostname found */
VIR_ERR_CHECKPOINT_INCONSISTENT = 109, /* checkpoint can't be used */
# ifdef VIR_ENUM_SENTINELS
VIR_ERR_NUMBER_LAST