From nobody Tue May 7 07:06:22 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.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 205.139.110.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=1575983856; cv=none; d=zohomail.com; s=zohoarc; b=TfSIOFNaLDlkFWPouOEPsQr6pqWDsPlNRjDyAQ62227lxV5F0zSFlJmEzB9DQspYqAULrRC2mhwtZAMZtCW/ghjkAJo5qGFw0PIGRlKu2wHvhago1ml4xbVgu/B8jisByUrMhZ8+nw0/UTWbzlCEf7Xo0Bb0esDkgxqiaAeSUtk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1575983856; 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=PXz//lxfDOOPVbMlDsLXtxj4RpkbFLxaGJRIKz0ls8E=; b=KcgBpF+5wOH/zJpgvMuvTyNZtW+sivxWQXcVy8zK8bNR3sGJvQKP/A50lLgwjf1fxj80SMR+yltDxihXo8SJxOZYPS/R1pGAWYce7CB0jIoob1eH16veDIzmlboGDX1uV0vdr8sRnwAVcgJIGd5cSby3S1v+Mp+TsJ8PlY5AMUg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.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 [205.139.110.120]) by mx.zohomail.com with SMTPS id 1575983856400546.6878793181438; Tue, 10 Dec 2019 05:17:36 -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-164-8hpbGf7iObKnchgiG-Q2mw-1; Tue, 10 Dec 2019 08:17:33 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 16AD5800D53; Tue, 10 Dec 2019 13:17:28 +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 E65325D77F; Tue, 10 Dec 2019 13:17:27 +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 9CDE6104905; Tue, 10 Dec 2019 13:17:27 +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 xBADHQB5022861 for ; Tue, 10 Dec 2019 08:17:26 -0500 Received: by smtp.corp.redhat.com (Postfix) id C803C5C241; Tue, 10 Dec 2019 13:17:26 +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 AD23E5C1B0; Tue, 10 Dec 2019 13:17:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575983855; 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=PXz//lxfDOOPVbMlDsLXtxj4RpkbFLxaGJRIKz0ls8E=; b=amX2dKHcKAGRsE9fhFJNmOarYuwLlc3sYAZSVJfvTgMn5sIFtVtQx9Nj6+LVEXLp53I64c gqyO0FJvDJrphF90tM2Ix0Rr17MQ2f/ak69CnxWbSc2mbbRJ+7Sm6OdLn7mgJYBsQ4X+1X IfYSjcLuxV1FXHg4UzdgaoOquRix4a4= From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Tue, 10 Dec 2019 13:17:14 +0000 Message-Id: <20191210131719.938449-2-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 1/6] Fix typo breaking some migrate parameter handling 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.15 X-MC-Unique: 8hpbGf7iObKnchgiG-Q2mw-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 Reviewed-by: Michal Privoznik --- Changes | 2 ++ lib/Sys/Virt.xs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 37529ac..2ba87bb 100644 --- a/Changes +++ b/Changes @@ -4,6 +4,8 @@ Revision history for perl module Sys::Virt =20 - Add VIR_DOMAIN_JOB_SUCCESS and VIR_DOMAIN_JOB_STATS_KEEP_COMPLETED constants + - Fix typo breaking migration postcopy bandwidth and + autoconvert increment parameter handling =20 5.10.0 2019-12-03 =20 diff --git a/lib/Sys/Virt.xs b/lib/Sys/Virt.xs index 98a12d7..08fd084 100644 --- a/lib/Sys/Virt.xs +++ b/lib/Sys/Virt.xs @@ -5571,7 +5571,7 @@ _migrate_to_uri(dom, desturi, newparams, flags=3D0) VIR_TYPED_PARAM_FIELD_LENGTH); params[14].type =3D VIR_TYPED_PARAM_INT; =20 - strncpy(params[14].field, VIR_MIGRATE_PARAM_BANDWIDTH_POSTCOPY, + strncpy(params[15].field, VIR_MIGRATE_PARAM_BANDWIDTH_POSTCOPY, VIR_TYPED_PARAM_FIELD_LENGTH); params[15].type =3D VIR_TYPED_PARAM_ULLONG; =20 --=20 2.23.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 07:06:22 2024 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 Reviewed-by: Michal Privoznik --- 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 From nobody Tue May 7 07:06:22 2024 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=1575983869; cv=none; d=zohomail.com; s=zohoarc; b=WENbjpgc0P3BOjOOVy2wyIHam4TmipKqlzXkmDI1jhs/t2bcGvX2tq/WsBJugpGJT4nRSkAr4FscMbCMad/wKMvRnx9paWfnzETV696xrLDViYePfcv3OM5wd5i6lOkvH7lCWZeh+YyknPntE6bedBMmcks6dHpHeSg29Nl6ADU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1575983869; 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=k8XXuKXWcLFZt6j0TlsRKmSKbE4vJEvSmCKLR9sdBlA=; b=A7OrCgNX+3EpjOGcIQqkKpiB+v++2mCbh2uQTzIQnONJpHwmmhS3Vdp/EBVH3SUfgRiOBGXqiiOc1uGvgst0cA+TVsNoQfL31utcL8mL34+Br0mrIkuKIqLh3yiWt+Mh5JpzYY9PftOP16e9ygXYqmNFFlDOKwrp0BPr2uruvFU= 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 1575983869145478.9673618735594; Tue, 10 Dec 2019 05:17:49 -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-409-lf5QnvRpPqOf1Ua2uLTWhA-1; Tue, 10 Dec 2019 08:17:46 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F016FDB21; Tue, 10 Dec 2019 13:17:40 +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 C67DF6FDDF; Tue, 10 Dec 2019 13:17:40 +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 648B61832DAA; Tue, 10 Dec 2019 13:17:40 +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 xBADHcn9022923 for ; Tue, 10 Dec 2019 08:17:38 -0500 Received: by smtp.corp.redhat.com (Postfix) id 040FB5C28C; Tue, 10 Dec 2019 13:17:38 +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 0C2A15C21B; Tue, 10 Dec 2019 13:17:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575983868; 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=k8XXuKXWcLFZt6j0TlsRKmSKbE4vJEvSmCKLR9sdBlA=; b=hd4373KOwXO/g5q1z5gM7G63KiLaerG/vRQUH5xnPvJlw4B56GfxuAc7GEHPDq2PFqwFe9 Oa+0nSNsOO1XEOqj2Z69O8zqyxMZGz6lObFDZIoyCcF1QW9VdylSvywf+tIeigo4A8TAU3 rgTyOl0Ls+QwpQTxCH43KUVWsXP+smc= From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Tue, 10 Dec 2019 13:17:16 +0000 Message-Id: <20191210131719.938449-4-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 3/6] Add support for VIR_MIGRATE_PARAM_TLS_DESTINATION 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-MC-Unique: lf5QnvRpPqOf1Ua2uLTWhA-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 Reviewed-by: Michal Privoznik --- Changes | 1 + lib/Sys/Virt.xs | 13 +++++++++++-- lib/Sys/Virt/Domain.pm | 9 +++++++++ 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index ba33d40..09d1dca 100644 --- a/Changes +++ b/Changes @@ -8,6 +8,7 @@ Revision history for perl module Sys::Virt autoconvert increment parameter handling - Add handling for VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS constant when invoking migrate + - Add VIR_MIGRATE_PARAM_TLS_DESTINATION constant =20 5.10.0 2019-12-03 =20 diff --git a/lib/Sys/Virt.xs b/lib/Sys/Virt.xs index b52ae7d..3245adf 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 17; + nparams =3D 18; Newx(params, nparams, virTypedParameter); =20 strncpy(params[0].field, VIR_MIGRATE_PARAM_URI, @@ -5484,6 +5484,10 @@ _migrate(dom, destcon, newparams, flags=3D0) VIR_TYPED_PARAM_FIELD_LENGTH); params[16].type =3D VIR_TYPED_PARAM_INT; =20 + strncpy(params[17].field, VIR_MIGRATE_PARAM_TLS_DESTINATION, + VIR_TYPED_PARAM_FIELD_LENGTH); + params[17].type =3D VIR_TYPED_PARAM_STRING; + nparams =3D vir_typed_param_from_hv(newparams, params, nparams); =20 vir_typed_param_add_string_list_from_hv(newparams, ¶ms, &nparams, @@ -5512,7 +5516,7 @@ _migrate_to_uri(dom, desturi, newparams, flags=3D0) virTypedParameterPtr params; int nparams; PPCODE: - nparams =3D 17; + nparams =3D 18; Newx(params, nparams, virTypedParameter); =20 strncpy(params[0].field, VIR_MIGRATE_PARAM_URI, @@ -5583,6 +5587,10 @@ _migrate_to_uri(dom, desturi, newparams, flags=3D0) VIR_TYPED_PARAM_FIELD_LENGTH); params[16].type =3D VIR_TYPED_PARAM_INT; =20 + strncpy(params[17].field, VIR_MIGRATE_PARAM_TLS_DESTINATION, + VIR_TYPED_PARAM_FIELD_LENGTH); + params[17].type =3D VIR_TYPED_PARAM_STRING; + nparams =3D vir_typed_param_from_hv(newparams, params, nparams); =20 vir_typed_param_add_string_list_from_hv(newparams, ¶ms, &nparams, @@ -9254,6 +9262,7 @@ BOOT: 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); + REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_TLS_DESTINATION, MIGRATE_PAR= AM_TLS_DESTINATION); =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 2caec51..ae909de 100644 --- a/lib/Sys/Virt/Domain.pm +++ b/lib/Sys/Virt/Domain.pm @@ -1141,6 +1141,15 @@ progress is not made =20 The number of connections used during parallel migration. =20 +=3Ditem C + +Override the destination host name used for TLS verification. +Normally the TLS certificate from the destination host must match +the host's name for TLS verification to succeed. When the +certificate does not match the destination hostname and the +expected cetificate's hostname is known, this parameter can be +used to pass this expected hostname when starting the migration. + =3Dback =20 =3Ditem $ddom =3D $dom->migrate(destcon, flags=3D0, dname=3Dundef, uri=3Du= ndef, bandwidth=3D0) --=20 2.23.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 07:06:22 2024 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=1575983870; cv=none; d=zohomail.com; s=zohoarc; b=VCLEP8y60tCtduH3cs1uOhiuFujMgsT8oGppEb5HejQzFQzsW86/tjLDxK5JcOlly7YbugurHTTvCoJmzX2gb/UMe0YqSqo4HijCsu6ezhd7f6sztwX682DKHEr/vAZKyHl30zD8qw6sw6WAvfMwOETvlA41lAXg8GioWoS0x/I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1575983870; 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=PI1NIrLNThNF1FyrJafDI+jrCLX1P/AZb8NGMwNJ6Jw=; b=POywyZNM9qzStaBXvy/T2sznO+oOcUwE50yCcQ44IjlND0ptXGvQqttKtrUFIyLadTvQjAav4h2DKlHihKeY2bASvoboD3v1aT9rW6/cETTaTR0dcFckdU94ersRr7CO6M3VmGkg002bRfoNos5BO3DbAfdBffFdWkE1BcWC+J8= 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 1575983870260224.72483452244205; Tue, 10 Dec 2019 05:17:50 -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-209-qLdZ-SXWPzGQLxXY2aHRxQ-1; Tue, 10 Dec 2019 08:17:47 -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 EF63F107ACE3; Tue, 10 Dec 2019 13:17:41 +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 C8B565C1B0; Tue, 10 Dec 2019 13:17:41 +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 885471048E2; Tue, 10 Dec 2019 13:17:41 +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 xBADHdi8022929 for ; Tue, 10 Dec 2019 08:17:39 -0500 Received: by smtp.corp.redhat.com (Postfix) id 38A385C21A; Tue, 10 Dec 2019 13:17:39 +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 53A555C1B0; Tue, 10 Dec 2019 13:17:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575983869; 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=PI1NIrLNThNF1FyrJafDI+jrCLX1P/AZb8NGMwNJ6Jw=; b=F66Rt4HkkRhXWillMT7wXP0jiuhP0OboWDuW4AN4U9m25Ipsx+E1w+XpSQKUT92weK5m/O EJcoIynF9X0QPaVDykzibMc/yTvtCnkvnKQ7LfYA3xOX97DoDCVKglDRVRQUjYb7GAJzgf gwIO4s5OKjJyTIXIzmLgk3KCWp6s2AE= From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Tue, 10 Dec 2019 13:17:17 +0000 Message-Id: <20191210131719.938449-5-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 4/6] Add missing create_checkpoint method 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: qLdZ-SXWPzGQLxXY2aHRxQ-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 Reviewed-by: Michal Privoznik --- Changes | 1 + lib/Sys/Virt/Domain.pm | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/Changes b/Changes index 09d1dca..f36d401 100644 --- a/Changes +++ b/Changes @@ -9,6 +9,7 @@ Revision history for perl module Sys::Virt - Add handling for VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS constant when invoking migrate - Add VIR_MIGRATE_PARAM_TLS_DESTINATION constant + - Add missing create_checkpoint method on Sys::Virt::Domain =20 5.10.0 2019-12-03 =20 diff --git a/lib/Sys/Virt/Domain.pm b/lib/Sys/Virt/Domain.pm index ae909de..d9d64e4 100644 --- a/lib/Sys/Virt/Domain.pm +++ b/lib/Sys/Virt/Domain.pm @@ -1965,6 +1965,23 @@ sub get_checkpoint_by_name { return Sys::Virt::DomainCheckpoint->_new(domain =3D> $self, name =3D> = $name); } =20 +=3Ditem $checkpoint =3D $dom->create_checkpoint($xml[, $flags]) + +Create a new checkpoint from the C<$xml>. The C<$flags> parameter accepts +the B constants listed in C. + +=3Dcut + +sub create_checkpoint { + my $self =3D shift; + my $xml =3D shift; + my $flags =3D shift; + + my $checkpoint =3D Sys::Virt::DomainCheckpoint->_new(domain =3D> $self= , xml =3D> $xml, flags =3D> $flags); + + return $checkpoint; +} + 1; =20 =3Ditem $dom->fs_trim($mountPoint, $minimum, $flags=3D0); --=20 2.23.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 07:06:22 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 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=1575983870; cv=none; d=zohomail.com; s=zohoarc; b=aaP0rIPsw/i+3nfr3k3xKDrqkqGWsTedwvPcaYPuItBn2jMo9mXfLeV4mgBWJya/IO6ZANjJcx8J2kiiUgR/VAh3z1IgiFQYTs6G2nx/LFgpi2oQbvL1pulh5goxZa4WsgIiPHUOOO7b2Ii38XQJWqQAMsbcJKbb1tng3M0M1M8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1575983870; 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=Nziwg6h4xCpnVVx8zrkboy28YsiNZE9+qQy02gKWalg=; b=L3YUXPeJjmSnAtg98Z96OKd2OV95NYbznZCrNsfE2xRPHVC1av5hrUsfjTUlQmYEMrQGl7dLzkTTV4tzYJKKq3of5f4qDEML/BBbchl3uNw3d+K1c7p/HrM97A7WMKylmZiNTx2S2Kk8lPsB7ceVcmHWkzRBaNthKesZjRO+u9U= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 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-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 157598387024362.35929064865434; Tue, 10 Dec 2019 05:17:50 -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-364-I9HfAIBdNAevVksYeUrxhA-1; Tue, 10 Dec 2019 08:17:47 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DFB78180449E; Tue, 10 Dec 2019 13:17:41 +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 B903861F37; Tue, 10 Dec 2019 13:17:41 +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 76A3C104908; Tue, 10 Dec 2019 13:17:41 +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 xBADHeHD022941 for ; Tue, 10 Dec 2019 08:17:40 -0500 Received: by smtp.corp.redhat.com (Postfix) id 774995C21B; Tue, 10 Dec 2019 13:17:40 +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 955BC5C1B0; Tue, 10 Dec 2019 13:17:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575983869; 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=Nziwg6h4xCpnVVx8zrkboy28YsiNZE9+qQy02gKWalg=; b=Pb2/ygvRo9WHqmvl8GTXAKXfLEV8kB2WPZwygFNe+l+dytKrnTQzZvfhUYKsM+NWv4J0bW OXBf3l8awrnHRqehiMlapXmxPaS6+Jvk/N1aaKv7SUQzHPVemRZ+wrucCOLTbQ4jGPmJh9 u2CnbebiOi+Ah+/cz3N5i6m57sNNaqU= From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Tue, 10 Dec 2019 13:17:18 +0000 Message-Id: <20191210131719.938449-6-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 5/6] Remove docs for has_metadata method which doesn't exist 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.15 X-MC-Unique: I9HfAIBdNAevVksYeUrxhA-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 Reviewed-by: Michal Privoznik --- Changes | 1 + lib/Sys/Virt/DomainCheckpoint.pm | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Changes b/Changes index f36d401..9d9a5c8 100644 --- a/Changes +++ b/Changes @@ -10,6 +10,7 @@ Revision history for perl module Sys::Virt constant when invoking migrate - Add VIR_MIGRATE_PARAM_TLS_DESTINATION constant - Add missing create_checkpoint method on Sys::Virt::Domain + - Remove docs for has_metadata method which doesn't exit =20 5.10.0 2019-12-03 =20 diff --git a/lib/Sys/Virt/DomainCheckpoint.pm b/lib/Sys/Virt/DomainCheckpoi= nt.pm index e8e875d..e1adae4 100644 --- a/lib/Sys/Virt/DomainCheckpoint.pm +++ b/lib/Sys/Virt/DomainCheckpoint.pm @@ -97,11 +97,6 @@ constants. =20 Return the parent of the checkpoint, if any =20 -=3Ditem $res =3D $domchkp->has_metadata() - -Returns a true value if this checkpoint has metadata associated with -it. - =3Ditem my @checkpoints =3D $domchkp->list_all_children($flags) =20 Return a list of all domain checkpoints that are children of this --=20 2.23.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 07:06:22 2024 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=1575983874; cv=none; d=zohomail.com; s=zohoarc; b=cuQ15eiYmy8tVGh/w+UxsuXSUU1ASseMlKS4VMuygyJJophajivH38x75VByXXokEXnC3Lh34OpI6tYs+hbpipri5McFvYB4J/SZEiPoeLtM7nHyurZ/qlLfZBvM5b6hxXDzdvgchmycm7Rk3BeawQCqc/Jt4IV74FXmk+ki5Y0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1575983874; 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=8ue5J2DupCLqjNqMIJnM6xhiUpREvwPe3l2JnfcSbnw=; b=nEeR8S2TvsJ49TcXzcDL7AuLHhh8zXJO3Xje3wdeTFb+YtS4Y8vUCA7XD7SVN3BEsLXDHbU3dCWqWs4lM3wO/N4zp9b9mCMBstlE0k5Tl1dcN02KHxuZH/FyEHAf/hXdOCYnhan5hegWEfBeMbThx9La43I8lcck0rwRfymc7zw= 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 157598387490756.60350298921344; Tue, 10 Dec 2019 05:17:54 -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-353-dsycPcqWOdiFOxRngZK7Fw-1; Tue, 10 Dec 2019 08:17:51 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EF6EADB31; Tue, 10 Dec 2019 13:17:45 +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 CC3826FDDF; Tue, 10 Dec 2019 13:17:45 +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 7C0271832DB9; Tue, 10 Dec 2019 13:17:45 +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 xBADHiEA022971 for ; Tue, 10 Dec 2019 08:17:44 -0500 Received: by smtp.corp.redhat.com (Postfix) id 739C35C21B; Tue, 10 Dec 2019 13:17:44 +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 6175A5C1B0; Tue, 10 Dec 2019 13:17:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575983873; 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=8ue5J2DupCLqjNqMIJnM6xhiUpREvwPe3l2JnfcSbnw=; b=e3iwSTJnIamrgcriZ9xLSCEyITnfj8QBm81AsmOjZp6/VXAaXEh7O1f1cDlzNTaHDLg8Xy zwcBsmWRtjDKjcao1qp7k8MqWUN3Yqi5HjeX5SiYN1Xfcln+uURTbbBnMtYuChptCKEP0L DRxApuQMoa32cWdi0N8wPkIZlOQhHOg= From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Tue, 10 Dec 2019 13:17:19 +0000 Message-Id: <20191210131719.938449-7-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 6/6] Fix data type for VIR_CONNECT_IDENTITY_SASL_USER_NAME 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.13 X-MC-Unique: dsycPcqWOdiFOxRngZK7Fw-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 Reviewed-by: Michal Privoznik --- Changes | 2 ++ lib/Sys/Virt.xs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 9d9a5c8..e90e736 100644 --- a/Changes +++ b/Changes @@ -11,6 +11,8 @@ Revision history for perl module Sys::Virt - Add VIR_MIGRATE_PARAM_TLS_DESTINATION constant - Add missing create_checkpoint method on Sys::Virt::Domain - Remove docs for has_metadata method which doesn't exit + - Fix data type for VIR_CONNECT_IDENTITY_SASL_USER_NAME + parameter =20 5.10.0 2019-12-03 =20 diff --git a/lib/Sys/Virt.xs b/lib/Sys/Virt.xs index 3245adf..ab12ef0 100644 --- a/lib/Sys/Virt.xs +++ b/lib/Sys/Virt.xs @@ -2738,7 +2738,7 @@ set_identity(conn, newident, flags=3D0) =20 strncpy(ident[6].field, VIR_CONNECT_IDENTITY_SASL_USER_NAME, VIR_TYPED_PARAM_FIELD_LENGTH); - ident[6].type =3D VIR_TYPED_PARAM_INT; + ident[6].type =3D VIR_TYPED_PARAM_STRING; =20 strncpy(ident[7].field, VIR_CONNECT_IDENTITY_X509_DISTINGUISHED_NAME, VIR_TYPED_PARAM_FIELD_LENGTH); --=20 2.23.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list