[libvirt-perl PATCH] Add VIR_FROM_THREAD constant

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

 



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 7a2bc51..1849668 100644
--- a/Changes
+++ b/Changes
@@ -11,6 +11,7 @@ Revision history for perl module Sys::Virt
  - Add VIR_DOMAIN_PAUSED_STARTING_UP constant
  - Adapt to rename of virDomainIOThreadsInfoFree to virDomainIOThreadInfoFree
  - Adapt to rename of virDomainGetIOThreadsInfo to virDomainGetIOThreadInfo
+ - Add VIR_FROM_THREAD constant
 
 1.2.13 2015-03-05
 
diff --git a/Virt.xs b/Virt.xs
index 2138530..d01cf05 100644
--- a/Virt.xs
+++ b/Virt.xs
@@ -8104,6 +8104,7 @@ BOOT:
       REGISTER_CONSTANT(VIR_FROM_CRYPTO, FROM_CRYPTO);
       REGISTER_CONSTANT(VIR_FROM_FIREWALL, FROM_FIREWALL);
       REGISTER_CONSTANT(VIR_FROM_POLKIT, FROM_POLKIT);
+      REGISTER_CONSTANT(VIR_FROM_THREAD, FROM_THREAD);
 
 
       REGISTER_CONSTANT(VIR_ERR_OK, ERR_OK);
diff --git a/lib/Sys/Virt/Error.pm b/lib/Sys/Virt/Error.pm
index 2171bf2..e2fdbe1 100644
--- a/lib/Sys/Virt/Error.pm
+++ b/lib/Sys/Virt/Error.pm
@@ -378,6 +378,10 @@ The firewall helper APIs.
 
 The polkit authentication / authorization APIs
 
+=item Sys::Virt::Error::FROM_THREAD
+
+The thread helper utils
+
 =back
 
 =head2 ERROR CODE CONSTANTS
-- 
2.1.0

--
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]