[libvirt] [libvirt-perl PATCH 2/2] Add support for ERR_AGENT_UNSYNCED

John Ferlan jferlan at redhat.com
Fri Sep 9 17:12:01 UTC 2016


Allows libvirt-perl to build with upstream libvirt.

Signed-off-by: John Ferlan <jferlan at 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 8eb298a..c346ad1 100644
--- a/Changes
+++ b/Changes
@@ -5,6 +5,7 @@ Revision history for perl module Sys::Virt
  - Add PERF_PARAM_CACHE_MISSES, PERF_PARAM_CACHE_REFERENCES,
    PERF_PARAM_CPU_CYCLES, PERF_PARAM_INSTRUCTIONS constants
  - Add USAGE_TYPE_TLS
+ - Add ERR_AGENT_UNSYNCED
 
 2.2.0 2016-09-05
 
diff --git a/Virt.xs b/Virt.xs
index 2206e40..85ee4f9 100644
--- a/Virt.xs
+++ b/Virt.xs
@@ -8875,4 +8875,5 @@ BOOT:
       REGISTER_CONSTANT(VIR_ERR_AUTH_UNAVAILABLE, ERR_AUTH_UNAVAILABLE);
       REGISTER_CONSTANT(VIR_ERR_NO_SERVER, ERR_NO_SERVER);
       REGISTER_CONSTANT(VIR_ERR_NO_CLIENT, ERR_NO_CLIENT);
+      REGISTER_CONSTANT(VIR_ERR_AGENT_UNSYNCED, ERR_AGENT_UNSYNCED);
     }
diff --git a/lib/Sys/Virt/Error.pm b/lib/Sys/Virt/Error.pm
index db23f1e..39d3caf 100644
--- a/lib/Sys/Virt/Error.pm
+++ b/lib/Sys/Virt/Error.pm
@@ -796,6 +796,10 @@ Libvirt server was not found
 
 Libvirt client was not found
 
+=item Sys::Virt::Error::ERR_AGENT_UNSYNCED
+
+Libvirt guest agent replies with wrong id to guest-sync command
+
 =back
 
 =head1 AUTHORS
-- 
2.7.4




More information about the libvir-list mailing list