From nobody Wed May 1 05:50:09 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1553791613036185.12914956950158; Thu, 28 Mar 2019 09:46:53 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 69D6D30FD844; Thu, 28 Mar 2019 16:46:51 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 058BB1001E84; Thu, 28 Mar 2019 16:46:51 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 86C861803389; Thu, 28 Mar 2019 16:46:50 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x2SGjU87025407 for ; Thu, 28 Mar 2019 12:45:30 -0400 Received: by smtp.corp.redhat.com (Postfix) id 574315C226; Thu, 28 Mar 2019 16:45:30 +0000 (UTC) Received: from moe.brq.redhat.com (unknown [10.43.2.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id D478E5F9C9 for ; Thu, 28 Mar 2019 16:45:28 +0000 (UTC) From: Michal Privoznik To: libvir-list@redhat.com Date: Thu, 28 Mar 2019 17:45:19 +0100 Message-Id: <3bedd29d5ac25d3df7cd67743a2268cf1a3b4728.1553791473.git.mprivozn@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Subject: [libvirt] [perl][PATCH 1/3] Register new error code constants X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Thu, 28 Mar 2019 16:46:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Signed-off-by: Michal Privoznik Reviewed-by: Daniel P. Berrang=C3=A9 --- Changes | 2 ++ lib/Sys/Virt.xs | 3 +++ lib/Sys/Virt/Error.pm | 12 ++++++++++++ 3 files changed, 17 insertions(+) diff --git a/Changes b/Changes index 4601816..228d251 100644 --- a/Changes +++ b/Changes @@ -3,6 +3,8 @@ Revision history for perl module Sys::Virt 5.2.0 2019-04-00 =20 - Add VIR_DOMAIN_SNAPSHOT_LIST_TOPOLOGICAL constant + - Add VIR_ERR_INVALID_DOMAIN_CHECKPOINT, VIR_ERR_NO_DOMAIN_BACKUP, + VIR_ERR_NO_DOMAIN_CHECKPOINT constants =20 5.1.0 2019-03-04 =20 diff --git a/lib/Sys/Virt.xs b/lib/Sys/Virt.xs index eb98aaf..3823c68 100644 --- a/lib/Sys/Virt.xs +++ b/lib/Sys/Virt.xs @@ -9847,4 +9847,7 @@ BOOT: REGISTER_CONSTANT(VIR_ERR_DEVICE_MISSING, ERR_DEVICE_MISSING); REGISTER_CONSTANT(VIR_ERR_INVALID_NWFILTER_BINDING, ERR_INVALID_NWFI= LTER_BINDING); REGISTER_CONSTANT(VIR_ERR_NO_NWFILTER_BINDING, ERR_NO_NWFILTER_BINDI= NG); + REGISTER_CONSTANT(VIR_ERR_INVALID_DOMAIN_CHECKPOINT, ERR_INVALID_DOM= AIN_CHECKPOINT); + REGISTER_CONSTANT(VIR_ERR_NO_DOMAIN_BACKUP, ERR_NO_DOMAIN_BACKUP); + REGISTER_CONSTANT(VIR_ERR_NO_DOMAIN_CHECKPOINT, ERR_NO_DOMAIN_CHECKP= OINT); } diff --git a/lib/Sys/Virt/Error.pm b/lib/Sys/Virt/Error.pm index a5b0cdf..e73d98e 100644 --- a/lib/Sys/Virt/Error.pm +++ b/lib/Sys/Virt/Error.pm @@ -828,6 +828,18 @@ Invalid nwfilter binding =20 No nwfilter binding =20 +=3Ditem Sys::Virt::Error::ERR_INVALID_DOMAIN_CHECKPOINT + +Invalid domain checkpoint + +=3Ditem Sys::Virt::Error::ERR_NO_DOMAIN_BACKUP + +Domain checkpoint not found + +=3Ditem Sys::Virt::Error::ERR_NO_DOMAIN_CHECKPOINT + +Domain backup job id not found + =3Dback =20 =3Dhead1 AUTHORS --=20 2.19.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Wed May 1 05:50:09 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1553791616165349.37933263263517; Thu, 28 Mar 2019 09:46:56 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DEF6136955; Thu, 28 Mar 2019 16:46:54 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id ADEA46015A; Thu, 28 Mar 2019 16:46:54 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 6A9D93FB13; Thu, 28 Mar 2019 16:46:54 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x2SGjV18025414 for ; Thu, 28 Mar 2019 12:45:31 -0400 Received: by smtp.corp.redhat.com (Postfix) id 277D25C226; Thu, 28 Mar 2019 16:45:31 +0000 (UTC) Received: from moe.brq.redhat.com (unknown [10.43.2.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id A490A17121 for ; Thu, 28 Mar 2019 16:45:30 +0000 (UTC) From: Michal Privoznik To: libvir-list@redhat.com Date: Thu, 28 Mar 2019 17:45:20 +0100 Message-Id: <336e1b97516306e07439882a9ce1600248512d14.1553791473.git.mprivozn@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Subject: [libvirt] [perl][PATCH 2/3] Add VIR_FROM_DOMAIN_CHECKPOINT constant X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Thu, 28 Mar 2019 16:46:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Signed-off-by: Michal Privoznik Reviewed-by: Daniel P. Berrang=C3=A9 --- Changes | 1 + lib/Sys/Virt.xs | 1 + lib/Sys/Virt/Error.pm | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/Changes b/Changes index 228d251..ef6e089 100644 --- a/Changes +++ b/Changes @@ -5,6 +5,7 @@ Revision history for perl module Sys::Virt - Add VIR_DOMAIN_SNAPSHOT_LIST_TOPOLOGICAL constant - Add VIR_ERR_INVALID_DOMAIN_CHECKPOINT, VIR_ERR_NO_DOMAIN_BACKUP, VIR_ERR_NO_DOMAIN_CHECKPOINT constants + - Add VIR_FROM_DOMAIN_CHECKPOINT constant =20 5.1.0 2019-03-04 =20 diff --git a/lib/Sys/Virt.xs b/lib/Sys/Virt.xs index 3823c68..fb1249f 100644 --- a/lib/Sys/Virt.xs +++ b/lib/Sys/Virt.xs @@ -9743,6 +9743,7 @@ BOOT: REGISTER_CONSTANT(VIR_FROM_LIBSSH, FROM_LIBSSH); REGISTER_CONSTANT(VIR_FROM_RESCTRL, FROM_RESCTRL); REGISTER_CONSTANT(VIR_FROM_FIREWALLD, FROM_FIREWALLD); + REGISTER_CONSTANT(VIR_FROM_DOMAIN_CHECKPOINT, FROM_DOMAIN_CHECKPOINT= ); =20 =20 REGISTER_CONSTANT(VIR_ERR_OK, ERR_OK); diff --git a/lib/Sys/Virt/Error.pm b/lib/Sys/Virt/Error.pm index e73d98e..d65ceb5 100644 --- a/lib/Sys/Virt/Error.pm +++ b/lib/Sys/Virt/Error.pm @@ -410,6 +410,10 @@ The resource control subsystem =20 The firewalld service =20 +=3Ditem Sys::Virt::Error::FROM_DOMAIN_CHECKPOINT + +The domain checkpoint + =3Dback =20 =3Dhead2 ERROR CODE CONSTANTS --=20 2.19.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Wed May 1 05:50:09 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 155379161980142.97284563422522; Thu, 28 Mar 2019 09:46:59 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9BC848B109; Thu, 28 Mar 2019 16:46:58 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 51F5A6015A; Thu, 28 Mar 2019 16:46:58 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 139B7180338B; Thu, 28 Mar 2019 16:46:58 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x2SGjVea025419 for ; Thu, 28 Mar 2019 12:45:31 -0400 Received: by smtp.corp.redhat.com (Postfix) id EB8A117146; Thu, 28 Mar 2019 16:45:31 +0000 (UTC) Received: from moe.brq.redhat.com (unknown [10.43.2.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id 74AAD5C226 for ; Thu, 28 Mar 2019 16:45:31 +0000 (UTC) From: Michal Privoznik To: libvir-list@redhat.com Date: Thu, 28 Mar 2019 17:45:21 +0100 Message-Id: <3b6c404e1477bfdcc9a6654bc82d64761e1bb63f.1553791473.git.mprivozn@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Subject: [libvirt] [perl][PATCH 3/3] Add VIR_MIGRATE_PARALLEL and VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS constants X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Thu, 28 Mar 2019 16:46:59 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Signed-off-by: Michal Privoznik --- 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 =20 5.1.0 2019-03-04 =20 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); =20 REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_BANDWIDTH, MIGRATE_PARAM_BAN= DWIDTH); REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_DEST_NAME, MIGRATE_PARAM_DES= T_NAME); @@ -8849,6 +8850,7 @@ BOOT: REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_AUTO_CONVERGE_INITIAL, MIGRA= TE_PARAM_AUTO_CONVERGE_INITIAL); REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_AUTO_CONVERGE_INCREMENT, MIG= RATE_PARAM_AUTO_CONVERGE_INCREMENT); REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_BANDWIDTH_POSTCOPY, MIGRATE_= PARAM_BANDWIDTH_POSTCOPY); + REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS, MIGRAT= E_PARAM_PARALLEL_CONNECTIONS); =20 REGISTER_CONSTANT(VIR_DOMAIN_MIGRATE_MAX_SPEED_POSTCOPY, MIGRATE_MAX= _SPEED_POSTCOPY); =20 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 =20 +=3Ditem C + +The number of connections used during parallel migration. + =3Dback =20 =3Ditem $ddom =3D $dom->migrate(destcon, flags=3D0, dname=3Dundef, uri=3Du= ndef, bandwidth=3D0) @@ -2540,6 +2544,12 @@ TLS environment configured by the hypervisor in orde= r to perform the migration. If incorrectly configured on either source or destination, the migration will fail. =20 +=3Ditem Sys::Virt::Domain::MIGRATE_PARALLEL + +Send memory pages to the destination host through several network +connections. See C +parameters for configuring the parallel migration. + =3Dback =20 =3Dhead2 UNDEFINE CONSTANTS --=20 2.19.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list