From nobody Mon Feb 9 05:19:19 2026 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1699543741446295.0651557632019; Thu, 9 Nov 2023 07:29:01 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 4BA161B51; Thu, 9 Nov 2023 10:29:00 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 3033B1B47; Thu, 9 Nov 2023 09:55:30 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id BA9AF1B36; Thu, 9 Nov 2023 09:55:14 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id D3B461AE9 for ; Thu, 9 Nov 2023 09:52:27 -0500 (EST) Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-118-0t1BujAFNFCBQ6QR8iH76g-1; Thu, 09 Nov 2023 09:52:25 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D57E31C0BB75 for ; Thu, 9 Nov 2023 14:52:22 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.14]) by smtp.corp.redhat.com (Postfix) with ESMTP id 588BF40C6EB9 for ; Thu, 9 Nov 2023 14:52:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: 0t1BujAFNFCBQ6QR8iH76g-1 From: Peter Krempa To: devel@lists.libvirt.org Subject: [PATCH 2/6] tests: qemumigparamsdata: Drop deprecated fields Date: Thu, 9 Nov 2023 15:52:15 +0100 Message-ID: <2b24841038b255a4775386ea88d8c03ad9da19a3.1699541489.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: ZHZOZLP5R2BJLVMK53WJR4Y3VPPIGBMC X-Message-ID-Hash: ZHZOZLP5R2BJLVMK53WJR4Y3VPPIGBMC X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1699543742190100001 Migration compression parameters 'compress-level', 'compress-threads', 'decompress-threads' were deprecated by qemu. Drop them from the tests. Note that the migration code automatically checks whether given capability is supported by qemu and thus we don't need to add any further code to prepare for the legacy compression to be dropped. Signed-off-by: Peter Krempa --- tests/qemumigparamsdata/basic.json | 3 --- tests/qemumigparamsdata/basic.reply | 3 --- tests/qemumigparamsdata/basic.xml | 3 --- tests/qemumigparamsdata/tls-enabled.json | 3 --- tests/qemumigparamsdata/tls-enabled.reply | 3 --- tests/qemumigparamsdata/tls-enabled.xml | 3 --- tests/qemumigparamsdata/tls-hostname.json | 3 --- tests/qemumigparamsdata/tls-hostname.reply | 3 --- tests/qemumigparamsdata/tls-hostname.xml | 3 --- tests/qemumigparamsdata/tls.json | 3 --- tests/qemumigparamsdata/tls.reply | 3 --- tests/qemumigparamsdata/tls.xml | 3 --- 12 files changed, 36 deletions(-) diff --git a/tests/qemumigparamsdata/basic.json b/tests/qemumigparamsdata/b= asic.json index b810d7cc87..9dae86fcbc 100644 --- a/tests/qemumigparamsdata/basic.json +++ b/tests/qemumigparamsdata/basic.json @@ -1,7 +1,4 @@ { - "compress-level": 1, - "compress-threads": 8, - "decompress-threads": 2, "cpu-throttle-initial": 20, "cpu-throttle-increment": 10, "max-bandwidth": 33554432, diff --git a/tests/qemumigparamsdata/basic.reply b/tests/qemumigparamsdata/= basic.reply index dd8c5287a5..e9c3c4714e 100644 --- a/tests/qemumigparamsdata/basic.reply +++ b/tests/qemumigparamsdata/basic.reply @@ -1,10 +1,7 @@ { "id": "libvirt-1", "return": { - "decompress-threads": 2, "cpu-throttle-increment": 10, - "compress-threads": 8, - "compress-level": 1, "cpu-throttle-initial": 20, "max-bandwidth": 33554432, "downtime-limit": 300 diff --git a/tests/qemumigparamsdata/basic.xml b/tests/qemumigparamsdata/ba= sic.xml index 2ca532eff5..e8af42dff5 100644 --- a/tests/qemumigparamsdata/basic.xml +++ b/tests/qemumigparamsdata/basic.xml @@ -1,8 +1,5 @@ - - - diff --git a/tests/qemumigparamsdata/tls-enabled.json b/tests/qemumigparams= data/tls-enabled.json index d42684a9de..098d3ae148 100644 --- a/tests/qemumigparamsdata/tls-enabled.json +++ b/tests/qemumigparamsdata/tls-enabled.json @@ -1,7 +1,4 @@ { - "compress-level": 1, - "compress-threads": 8, - "decompress-threads": 2, "cpu-throttle-initial": 20, "cpu-throttle-increment": 10, "tls-creds": "objlibvirt_migrate_tls0", diff --git a/tests/qemumigparamsdata/tls-enabled.reply b/tests/qemumigparam= sdata/tls-enabled.reply index 001241b075..e3ce8e7778 100644 --- a/tests/qemumigparamsdata/tls-enabled.reply +++ b/tests/qemumigparamsdata/tls-enabled.reply @@ -1,11 +1,8 @@ { "id": "libvirt-1", "return": { - "decompress-threads": 2, "cpu-throttle-increment": 10, - "compress-threads": 8, "tls-hostname": "", - "compress-level": 1, "cpu-throttle-initial": 20, "tls-creds": "objlibvirt_migrate_tls0", "max-bandwidth": 33554432, diff --git a/tests/qemumigparamsdata/tls-enabled.xml b/tests/qemumigparamsd= ata/tls-enabled.xml index 3e60c4dec3..554b6855d4 100644 --- a/tests/qemumigparamsdata/tls-enabled.xml +++ b/tests/qemumigparamsdata/tls-enabled.xml @@ -1,8 +1,5 @@ - - - diff --git a/tests/qemumigparamsdata/tls-hostname.json b/tests/qemumigparam= sdata/tls-hostname.json index abbd9f124b..2943df769b 100644 --- a/tests/qemumigparamsdata/tls-hostname.json +++ b/tests/qemumigparamsdata/tls-hostname.json @@ -1,7 +1,4 @@ { - "compress-level": 1, - "compress-threads": 8, - "decompress-threads": 2, "cpu-throttle-initial": 20, "cpu-throttle-increment": 10, "tls-creds": "objlibvirt_migrate_tls0", diff --git a/tests/qemumigparamsdata/tls-hostname.reply b/tests/qemumigpara= msdata/tls-hostname.reply index 74f069f780..f7e7a96bc5 100644 --- a/tests/qemumigparamsdata/tls-hostname.reply +++ b/tests/qemumigparamsdata/tls-hostname.reply @@ -1,11 +1,8 @@ { "id": "libvirt-1", "return": { - "decompress-threads": 2, "cpu-throttle-increment": 10, - "compress-threads": 8, "tls-hostname": "f27-1.virt", - "compress-level": 1, "cpu-throttle-initial": 20, "tls-creds": "objlibvirt_migrate_tls0", "max-bandwidth": 33554432, diff --git a/tests/qemumigparamsdata/tls-hostname.xml b/tests/qemumigparams= data/tls-hostname.xml index 4310e789a0..addb5e68a4 100644 --- a/tests/qemumigparamsdata/tls-hostname.xml +++ b/tests/qemumigparamsdata/tls-hostname.xml @@ -1,8 +1,5 @@ - - - diff --git a/tests/qemumigparamsdata/tls.json b/tests/qemumigparamsdata/tls= .json index 02e90c60ea..2bfd4a2635 100644 --- a/tests/qemumigparamsdata/tls.json +++ b/tests/qemumigparamsdata/tls.json @@ -1,7 +1,4 @@ { - "compress-level": 1, - "compress-threads": 8, - "decompress-threads": 2, "cpu-throttle-initial": 20, "cpu-throttle-increment": 10, "tls-creds": "", diff --git a/tests/qemumigparamsdata/tls.reply b/tests/qemumigparamsdata/tl= s.reply index 591eca6926..cd5bb26cca 100644 --- a/tests/qemumigparamsdata/tls.reply +++ b/tests/qemumigparamsdata/tls.reply @@ -1,11 +1,8 @@ { "id": "libvirt-1", "return": { - "decompress-threads": 2, "cpu-throttle-increment": 10, - "compress-threads": 8, "tls-hostname": "", - "compress-level": 1, "cpu-throttle-initial": 20, "tls-creds": "", "max-bandwidth": 33554432, diff --git a/tests/qemumigparamsdata/tls.xml b/tests/qemumigparamsdata/tls.= xml index 71e5bbb7cb..37ea8e90ec 100644 --- a/tests/qemumigparamsdata/tls.xml +++ b/tests/qemumigparamsdata/tls.xml @@ -1,8 +1,5 @@ - - - --=20 2.41.0 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org