Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
Changes | 1 +
lib/Sys/Virt.xs | 1 +
lib/Sys/Virt/Error.pm | 4 ++++
3 files changed, 6 insertions(+)
diff --git a/Changes b/Changes
index 228d251..ef6e089 100644
--- a/Changes
+++ b/Changes
@@ -5,6 +5,7 @@ Revision history for perl module Sys::Virt
- Add VIR_DOMAIN_SNAPSHOT_LIST_TOPOLOGICAL constant
- Add VIR_ERR_INVALID_DOMAIN_CHECKPOINT, VIR_ERR_NO_DOMAIN_BACKUP,
VIR_ERR_NO_DOMAIN_CHECKPOINT constants
+ - Add VIR_FROM_DOMAIN_CHECKPOINT constant
5.1.0 2019-03-04
diff --git a/lib/Sys/Virt.xs b/lib/Sys/Virt.xs
index 3823c68..fb1249f 100644
--- a/lib/Sys/Virt.xs
+++ b/lib/Sys/Virt.xs
@@ -9743,6 +9743,7 @@ BOOT:
REGISTER_CONSTANT(VIR_FROM_LIBSSH, FROM_LIBSSH);
REGISTER_CONSTANT(VIR_FROM_RESCTRL, FROM_RESCTRL);
REGISTER_CONSTANT(VIR_FROM_FIREWALLD, FROM_FIREWALLD);
+ REGISTER_CONSTANT(VIR_FROM_DOMAIN_CHECKPOINT, FROM_DOMAIN_CHECKPOINT);
REGISTER_CONSTANT(VIR_ERR_OK, ERR_OK);
diff --git a/lib/Sys/Virt/Error.pm b/lib/Sys/Virt/Error.pm
index e73d98e..d65ceb5 100644
--- a/lib/Sys/Virt/Error.pm
+++ b/lib/Sys/Virt/Error.pm
@@ -410,6 +410,10 @@ The resource control subsystem
The firewalld service
+=item Sys::Virt::Error::FROM_DOMAIN_CHECKPOINT
+
+The domain checkpoint
+
=back
=head2 ERROR CODE CONSTANTS
--
2.19.2