Signed-off-by: Michal Privoznik <mpriv...@redhat.com> --- Changes | 2 ++ lib/Sys/Virt.xs | 2 ++ lib/Sys/Virt/Domain.pm | 10 ++++++++++ 3 files changed, 14 insertions(+)
diff --git a/Changes b/Changes index ef6e089..e5ae8c8 100644 --- a/Changes +++ b/Changes @@ -6,6 +6,8 @@ Revision history for perl module Sys::Virt - Add VIR_ERR_INVALID_DOMAIN_CHECKPOINT, VIR_ERR_NO_DOMAIN_BACKUP, VIR_ERR_NO_DOMAIN_CHECKPOINT constants - Add VIR_FROM_DOMAIN_CHECKPOINT constant + - Add VIR_MIGRATE_PARALLEL and VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS + constants 5.1.0 2019-03-04 diff --git a/lib/Sys/Virt.xs b/lib/Sys/Virt.xs index fb1249f..36f0f6e 100644 --- a/lib/Sys/Virt.xs +++ b/lib/Sys/Virt.xs @@ -8831,6 +8831,7 @@ BOOT: 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(VIR_MIGRATE_PARALLEL, MIGRATE_PARALLEL); REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_BANDWIDTH, MIGRATE_PARAM_BANDWIDTH); REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_DEST_NAME, MIGRATE_PARAM_DEST_NAME); @@ -8849,6 +8850,7 @@ BOOT: REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_AUTO_CONVERGE_INITIAL, MIGRATE_PARAM_AUTO_CONVERGE_INITIAL); REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_AUTO_CONVERGE_INCREMENT, MIGRATE_PARAM_AUTO_CONVERGE_INCREMENT); REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_BANDWIDTH_POSTCOPY, MIGRATE_PARAM_BANDWIDTH_POSTCOPY); + REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS, MIGRATE_PARAM_PARALLEL_CONNECTIONS); REGISTER_CONSTANT(VIR_DOMAIN_MIGRATE_MAX_SPEED_POSTCOPY, MIGRATE_MAX_SPEED_POSTCOPY); diff --git a/lib/Sys/Virt/Domain.pm b/lib/Sys/Virt/Domain.pm index 1e3a3a2..73cb8a1 100644 --- a/lib/Sys/Virt/Domain.pm +++ b/lib/Sys/Virt/Domain.pm @@ -1137,6 +1137,10 @@ The initial percentage to throttle guest vCPUs The additional percentage step size to throttle guest vCPUs if progress is not made +=item C<Sys::Virt::Domain::MIGRATE_PARAM_PARALLEL_CONNECTIONS> + +The number of connections used during parallel migration. + =back =item $ddom = $dom->migrate(destcon, flags=0, dname=undef, uri=undef, bandwidth=0) @@ -2540,6 +2544,12 @@ TLS environment configured by the hypervisor in order to perform the migration. If incorrectly configured on either source or destination, the migration will fail. +=item Sys::Virt::Domain::MIGRATE_PARALLEL + +Send memory pages to the destination host through several network +connections. See C<Sys::Virt::Domain::MIGRATE_PARAM_PARALLEL_*> +parameters for configuring the parallel migration. + =back =head2 UNDEFINE CONSTANTS -- 2.19.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list