[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [libvirt-perl][PATCH] Add VIR_ERR_NO_SERVER constant



Signed-off-by: Michal Privoznik <mprivozn redhat com>
---
 Changes               | 1 +
 Virt.xs               | 1 +
 lib/Sys/Virt/Error.pm | 4 ++++
 3 files changed, 6 insertions(+)

diff --git a/Changes b/Changes
index 4e343d5..aa71a1e 100644
--- a/Changes
+++ b/Changes
@@ -7,6 +7,7 @@ Revision history for perl module Sys::Virt
    VIR_DOMAIN_TUNABLE_CPU_GLOBAL_PERIOD & VIR_DOMAIN_TUNABLE_CPU_GLOBAL_QUOTA
    constants
  - Add VIR_DOMAIN_EVENT_ID_JOB_COMPLETED constant and callback
+ - Add VIR_ERR_NO_SERVER constant
 
 1.3.2 2016-03-01
 
diff --git a/Virt.xs b/Virt.xs
index 6059cdc..9cb80fa 100644
--- a/Virt.xs
+++ b/Virt.xs
@@ -8439,4 +8439,5 @@ BOOT:
       REGISTER_CONSTANT(VIR_ERR_XML_INVALID_SCHEMA, ERR_INVALID_SCHEMA);
       REGISTER_CONSTANT(VIR_ERR_MIGRATE_FINISH_OK, ERR_MIGRATE_FINISH_OK);
       REGISTER_CONSTANT(VIR_ERR_AUTH_UNAVAILABLE, ERR_AUTH_UNAVAILABLE);
+      REGISTER_CONSTANT(VIR_ERR_NO_SERVER, ERR_NO_SERVER);
     }
diff --git a/lib/Sys/Virt/Error.pm b/lib/Sys/Virt/Error.pm
index e1b2578..3f6b058 100644
--- a/lib/Sys/Virt/Error.pm
+++ b/lib/Sys/Virt/Error.pm
@@ -784,6 +784,10 @@ Migration finished but expected to return NULL domain.
 
 Authentication services were not available
 
+=item Sys::Virt::Error::ERR_NO_SERVER
+
+Libvirt server was not found
+
 =back
 
 =head1 AUTHORS
-- 
2.4.10


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]