From nobody Sat May 18 19:12:45 2024 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 1713947321727557.0858243715436; Wed, 24 Apr 2024 01:28:41 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 965342123; Wed, 24 Apr 2024 04:28:40 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id C61621E68; Wed, 24 Apr 2024 04:27:33 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 55C7B1E1D; Wed, 24 Apr 2024 04:27:30 -0400 (EDT) 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 603BC1E1D for ; Wed, 24 Apr 2024 04:27:29 -0400 (EDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-96-ndXN2ZK1PKKwq2rW8iQBEA-1; Wed, 24 Apr 2024 04:27:27 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (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 F0C6C18065AE for ; Wed, 24 Apr 2024 08:27:26 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.11]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6156D1C0654B for ; Wed, 24 Apr 2024 08:27:26 +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.7 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: ndXN2ZK1PKKwq2rW8iQBEA-1 From: Peter Krempa To: devel@lists.libvirt.org Subject: [PATCH 1/2] tests: qemucapsprobe: Fix construction of path to libqemucapsprobemock.so Date: Wed, 24 Apr 2024 10:27:23 +0200 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: YHQCFFDPNNBCP3SPFS2HM65TDJCRIGLY X-Message-ID-Hash: YHQCFFDPNNBCP3SPFS2HM65TDJCRIGLY 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: 1713947322601100001 Prior to commit eac646ea490e66 VIR_TEST_MOCK included the path to the build directory, but the code was not fixed after VIR_TEST_MOCK was changed resulting in the following failure when attempting to probe capaibilities: $ ./tests/qemucapsprobe /path/to/qemu/qemu-system-x86_64 > out libqemucapsprobemock.so: No such file or directory Fix the construction of the path to the mock library by concatenating it back with the absolute path to the build directory. Fixes: eac646ea490e66500609585047f0d800e3645d6b Signed-off-by: Peter Krempa Reviewed-by: Pavel Hrdina --- tests/qemucapsprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qemucapsprobe.c b/tests/qemucapsprobe.c index 76c18f0dcd..cd117170ab 100644 --- a/tests/qemucapsprobe.c +++ b/tests/qemucapsprobe.c @@ -48,7 +48,7 @@ main(int argc, char **argv) virQEMUCaps *caps; virArch host; virArch guest; - const char *mock =3D VIR_TEST_MOCK("qemucapsprobe"); + g_autofree char *mock =3D g_strdup_printf("%s/%s", abs_builddir, VIR_T= EST_MOCK("qemucapsprobe")); if (!virFileIsExecutable(mock)) { perror(mock); --=20 2.44.0 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Sat May 18 19:12:45 2024 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 1713947365452534.2114216773658; Wed, 24 Apr 2024 01:29:25 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 61B881F0D; Wed, 24 Apr 2024 04:29:24 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 3F3A12193; Wed, 24 Apr 2024 04:27:38 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id A1A761E1D; Wed, 24 Apr 2024 04:27:30 -0400 (EDT) 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 1EAA61E1E for ; Wed, 24 Apr 2024 04:27:30 -0400 (EDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-58-9bNMhCqKNBSTcnZnSNGW8Q-1; Wed, 24 Apr 2024 04:27:28 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (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 1296818065AA for ; Wed, 24 Apr 2024 08:27:28 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.11]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5C0301C060D0 for ; Wed, 24 Apr 2024 08:27:27 +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.7 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: 9bNMhCqKNBSTcnZnSNGW8Q-1 From: Peter Krempa To: devel@lists.libvirt.org Subject: [PATCH 2/2] qemucapabilitiestest: Update qemu capability dump for qemu-9.0 release Date: Wed, 24 Apr 2024 10:27:24 +0200 Message-ID: <7f1f9f88b2c292deb22d1f257b306061750939da.1713947217.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: G34QJNQ3ARK2RMQRMFEXTOX42DTNPF2K X-Message-ID-Hash: G34QJNQ3ARK2RMQRMFEXTOX42DTNPF2K 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: 1713947366721100001 qemu-9.0 was released so update the capability dump to the final version. Notable changes: - the 'vdpa' simulator support was reverted for now Signed-off-by: Peter Krempa Reviewed-by: Pavel Hrdina --- .../caps_9.0.0_x86_64.replies | 50 ++----------------- .../caps_9.0.0_x86_64.xml | 4 +- 2 files changed, 6 insertions(+), 48 deletions(-) diff --git a/tests/qemucapabilitiesdata/caps_9.0.0_x86_64.replies b/tests/q= emucapabilitiesdata/caps_9.0.0_x86_64.replies index 712bb568f0..5d36853ce3 100644 --- a/tests/qemucapabilitiesdata/caps_9.0.0_x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_9.0.0_x86_64.replies @@ -16,11 +16,11 @@ { "return": { "qemu": { - "micro": 91, - "minor": 2, - "major": 8 + "micro": 0, + "minor": 0, + "major": 9 }, - "package": "v9.0.0-rc1-55-g7fcf7575f3" + "package": "v9.0.0" }, "id": "libvirt-2" } @@ -26450,12 +26450,6 @@ "description": "on/off", "type": "bool" }, - { - "default-value": false, - "name": "vdpa", - "description": "on/off", - "type": "bool" - }, { "default-value": true, "name": "migrate-extra", @@ -26879,12 +26873,6 @@ "description": "on/off", "type": "bool" }, - { - "default-value": false, - "name": "vdpa", - "description": "on/off", - "type": "bool" - }, { "default-value": true, "name": "migrate-extra", @@ -27352,12 +27340,6 @@ "description": "on/off", "type": "bool" }, - { - "default-value": false, - "name": "vdpa", - "description": "on/off", - "type": "bool" - }, { "default-value": true, "name": "migrate-extra", @@ -28961,12 +28943,6 @@ "description": "on/off", "type": "bool" }, - { - "default-value": false, - "name": "vdpa", - "description": "on/off", - "type": "bool" - }, { "default-value": true, "name": "migrate-extra", @@ -29611,12 +29587,6 @@ "description": "on/off", "type": "bool" }, - { - "default-value": false, - "name": "vdpa", - "description": "on/off", - "type": "bool" - }, { "default-value": true, "name": "migrate-extra", @@ -30581,12 +30551,6 @@ "description": "on/off", "type": "bool" }, - { - "default-value": false, - "name": "vdpa", - "description": "on/off", - "type": "bool" - }, { "default-value": true, "name": "migrate-extra", @@ -30856,12 +30820,6 @@ "description": "on/off", "type": "bool" }, - { - "default-value": false, - "name": "vdpa", - "description": "on/off", - "type": "bool" - }, { "default-value": true, "name": "migrate-extra", diff --git a/tests/qemucapabilitiesdata/caps_9.0.0_x86_64.xml b/tests/qemuc= apabilitiesdata/caps_9.0.0_x86_64.xml index fcfd9cdda9..d386dc927b 100644 --- a/tests/qemucapabilitiesdata/caps_9.0.0_x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_9.0.0_x86_64.xml @@ -204,9 +204,9 @@ - 8002091 + 9000000 43100245 - v9.0.0-rc1-55-g7fcf7575f3 + v9.0.0 x86_64 --=20 2.44.0 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org