[libvirt] [libvirt-perl][PATCH 3/3] Add VIR_MIGRATE_TLS constant

Michal Privoznik posted 3 patches 8 years, 10 months ago
[libvirt] [libvirt-perl][PATCH 3/3] Add VIR_MIGRATE_TLS constant
Posted by Michal Privoznik 8 years, 10 months ago
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
---
 Changes                | 1 +
 Virt.xs                | 1 +
 lib/Sys/Virt/Domain.pm | 7 +++++++
 3 files changed, 9 insertions(+)

diff --git a/Changes b/Changes
index 3faaf08..f28523a 100644
--- a/Changes
+++ b/Changes
@@ -13,6 +13,7 @@ Revision history for perl module Sys::Virt
  - Add PERF_PARAM_EMULATION_FAULTS constant
  - Add block threshold event
  - Add virDomainSetBlockThreshold API
+ - Add VIR_MIGRATE_TLS constant
 
 3.1.0 2017-03-03
 
diff --git a/Virt.xs b/Virt.xs
index a05cf4d..039f62d 100644
--- a/Virt.xs
+++ b/Virt.xs
@@ -8219,6 +8219,7 @@ BOOT:
       REGISTER_CONSTANT(VIR_MIGRATE_AUTO_CONVERGE, MIGRATE_AUTO_CONVERGE);
       REGISTER_CONSTANT(VIR_MIGRATE_RDMA_PIN_ALL, MIGRATE_RDMA_PIN_ALL);
       REGISTER_CONSTANT(VIR_MIGRATE_POSTCOPY, MIGRATE_POSTCOPY);
+      REGISTER_CONSTANT(VIR_MIGRATE_TLS, MIGRATE_TLS);
 
       REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_BANDWIDTH, MIGRATE_PARAM_BANDWIDTH);
       REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_DEST_NAME, MIGRATE_PARAM_DEST_NAME);
diff --git a/lib/Sys/Virt/Domain.pm b/lib/Sys/Virt/Domain.pm
index a192ad5..d69bb8d 100644
--- a/lib/Sys/Virt/Domain.pm
+++ b/lib/Sys/Virt/Domain.pm
@@ -2393,6 +2393,13 @@ Pin memory for RDMA transfer
 
 Enable support for post-copy migration
 
+=item Sys::Virt::Domain::MIGRATE_TLS
+
+Setting this flag will cause the migration to attempt to use the
+TLS environment configured by the hypervisor in order to perform
+the migration. If incorrectly configured on either source or
+destination, the migration will fail.
+
 =back
 
 =head2 UNDEFINE CONSTANTS
-- 
2.10.2

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [libvirt-perl][PATCH 3/3] Add VIR_MIGRATE_TLS constant
Posted by Daniel P. Berrange 8 years, 10 months ago
On Wed, Mar 29, 2017 at 03:56:29PM +0200, Michal Privoznik wrote:
> Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
> ---
>  Changes                | 1 +
>  Virt.xs                | 1 +
>  lib/Sys/Virt/Domain.pm | 7 +++++++
>  3 files changed, 9 insertions(+)

ACK


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://entangle-photo.org       -o-    http://search.cpan.org/~danberr/ :|

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