Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
Changes | 2 ++
lib/Sys/Virt.xs | 3 +++
lib/Sys/Virt/Error.pm | 12 ++++++++++++
3 files changed, 17 insertions(+)
diff --git a/Changes b/Changes
index 4601816..228d251 100644
--- a/Changes
+++ b/Changes
@@ -3,6 +3,8 @@ Revision history for perl module Sys::Virt
5.2.0 2019-04-00
- Add VIR_DOMAIN_SNAPSHOT_LIST_TOPOLOGICAL constant
+ - Add VIR_ERR_INVALID_DOMAIN_CHECKPOINT, VIR_ERR_NO_DOMAIN_BACKUP,
+ VIR_ERR_NO_DOMAIN_CHECKPOINT constants
5.1.0 2019-03-04
diff --git a/lib/Sys/Virt.xs b/lib/Sys/Virt.xs
index eb98aaf..3823c68 100644
--- a/lib/Sys/Virt.xs
+++ b/lib/Sys/Virt.xs
@@ -9847,4 +9847,7 @@ BOOT:
REGISTER_CONSTANT(VIR_ERR_DEVICE_MISSING, ERR_DEVICE_MISSING);
REGISTER_CONSTANT(VIR_ERR_INVALID_NWFILTER_BINDING, ERR_INVALID_NWFILTER_BINDING);
REGISTER_CONSTANT(VIR_ERR_NO_NWFILTER_BINDING, ERR_NO_NWFILTER_BINDING);
+ REGISTER_CONSTANT(VIR_ERR_INVALID_DOMAIN_CHECKPOINT,
ERR_INVALID_DOMAIN_CHECKPOINT);
+ REGISTER_CONSTANT(VIR_ERR_NO_DOMAIN_BACKUP, ERR_NO_DOMAIN_BACKUP);
+ REGISTER_CONSTANT(VIR_ERR_NO_DOMAIN_CHECKPOINT, ERR_NO_DOMAIN_CHECKPOINT);
}
diff --git a/lib/Sys/Virt/Error.pm b/lib/Sys/Virt/Error.pm
index a5b0cdf..e73d98e 100644
--- a/lib/Sys/Virt/Error.pm
+++ b/lib/Sys/Virt/Error.pm
@@ -828,6 +828,18 @@ Invalid nwfilter binding
No nwfilter binding
+=item Sys::Virt::Error::ERR_INVALID_DOMAIN_CHECKPOINT
+
+Invalid domain checkpoint
+
+=item Sys::Virt::Error::ERR_NO_DOMAIN_BACKUP
+
+Domain checkpoint not found
+
+=item Sys::Virt::Error::ERR_NO_DOMAIN_CHECKPOINT
+
+Domain backup job id not found
+
=back
=head1 AUTHORS
--
2.19.2