On 28.03.2015 12:49, John Ferlan wrote:
Signed-off-by: John Ferlan <jferlan(a)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 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
ACK
Michal