From nobody Sun Feb 8 12:37:25 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1575983884; cv=none; d=zohomail.com; s=zohoarc; b=CJ+9/mVJntAS6H+GdCOOSBKCMXcd7jFHt2jhtdvVxtkJAOX+qvPlslkTeXHhh4widGsocReQIElfohJlMHEreW4yEjaFwyAmB5LxoEhGYE0A3OuHksuJ+od1JB/etPNrjMJkkzD5F6FQF7Ab5yud4Az6bzzBKlAX8UwFK0vwWBk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1575983884; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=qFTI4fG6cC5DhENpFOnowLQCKBCgFcuDgkYi6vVcHEQ=; b=d5+JtfhvKScw8X0dEKwdi4/QcKVFdwZK1VKEbpb8GmUXwIQB2m9wBqXJYob4wSLhvYdn6Fys939tv4uuIinD8KJGner9g26pqWZLUNy1BUUz2HU4EasFiongBbeq1zwav4amL5OG4n7BovoTxVUugsLWgi6iJAFMMEJ3t+CfM/k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1575983884757353.3776870062595; Tue, 10 Dec 2019 05:18:04 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-270-G0io6msSMOKd9ojomz6PGw-1; Tue, 10 Dec 2019 08:17:42 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DA555DB20; Tue, 10 Dec 2019 13:17:36 +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 B223F5C1B0; Tue, 10 Dec 2019 13:17:36 +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 6B51C104907; Tue, 10 Dec 2019 13:17:36 +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 xBADHY1R022897 for ; Tue, 10 Dec 2019 08:17:35 -0500 Received: by smtp.corp.redhat.com (Postfix) id F0EE05C21B; Tue, 10 Dec 2019 13:17:34 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-61.ams2.redhat.com [10.36.112.61]) by smtp.corp.redhat.com (Postfix) with ESMTP id 36B0A5C1B0; Tue, 10 Dec 2019 13:17:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575983882; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=qFTI4fG6cC5DhENpFOnowLQCKBCgFcuDgkYi6vVcHEQ=; b=KYkaf13cNBM15ds+RvimTM8056zr4lrath2qLtkEW9BNIW1lRwIChsVC++CLSsoK74gSn9 HFtXcftL/tnUPyVev+qgGB+uKHTiy/2pBpvX3cYAsENKOPNOVowaFN57DXEX7jIb4SovsQ IMMXYBm4TbgTisA3z1xQ2Ydgo/se7iA= From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Tue, 10 Dec 2019 13:17:15 +0000 Message-Id: <20191210131719.938449-3-berrange@redhat.com> In-Reply-To: <20191210131719.938449-1-berrange@redhat.com> References: <20191210131719.938449-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Cc: Michal Privoznik Subject: [libvirt] [perl PATCH 2/6] Add handling for VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-MC-Unique: G0io6msSMOKd9ojomz6PGw-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Signed-off-by: Daniel P. Berrang=C3=A9 --- Changes | 2 ++ lib/Sys/Virt.xs | 12 ++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index 2ba87bb..ba33d40 100644 --- a/Changes +++ b/Changes @@ -6,6 +6,8 @@ Revision history for perl module Sys::Virt constants - Fix typo breaking migration postcopy bandwidth and autoconvert increment parameter handling + - Add handling for VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS + constant when invoking migrate =20 5.10.0 2019-12-03 =20 diff --git a/lib/Sys/Virt.xs b/lib/Sys/Virt.xs index 08fd084..b52ae7d 100644 --- a/lib/Sys/Virt.xs +++ b/lib/Sys/Virt.xs @@ -5413,7 +5413,7 @@ _migrate(dom, destcon, newparams, flags=3D0) virTypedParameterPtr params; int nparams; CODE: - nparams =3D 16; + nparams =3D 17; Newx(params, nparams, virTypedParameter); =20 strncpy(params[0].field, VIR_MIGRATE_PARAM_URI, @@ -5480,6 +5480,10 @@ _migrate(dom, destcon, newparams, flags=3D0) VIR_TYPED_PARAM_FIELD_LENGTH); params[15].type =3D VIR_TYPED_PARAM_ULLONG; =20 + strncpy(params[16].field, VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS, + VIR_TYPED_PARAM_FIELD_LENGTH); + params[16].type =3D VIR_TYPED_PARAM_INT; + nparams =3D vir_typed_param_from_hv(newparams, params, nparams); =20 vir_typed_param_add_string_list_from_hv(newparams, ¶ms, &nparams, @@ -5508,7 +5512,7 @@ _migrate_to_uri(dom, desturi, newparams, flags=3D0) virTypedParameterPtr params; int nparams; PPCODE: - nparams =3D 16; + nparams =3D 17; Newx(params, nparams, virTypedParameter); =20 strncpy(params[0].field, VIR_MIGRATE_PARAM_URI, @@ -5575,6 +5579,10 @@ _migrate_to_uri(dom, desturi, newparams, flags=3D0) VIR_TYPED_PARAM_FIELD_LENGTH); params[15].type =3D VIR_TYPED_PARAM_ULLONG; =20 + strncpy(params[16].field, VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS, + VIR_TYPED_PARAM_FIELD_LENGTH); + params[16].type =3D VIR_TYPED_PARAM_INT; + nparams =3D vir_typed_param_from_hv(newparams, params, nparams); =20 vir_typed_param_add_string_list_from_hv(newparams, ¶ms, &nparams, --=20 2.23.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list