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

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

 



Allows libvirt-perl to build with upstream libvirt.

Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]