From nobody Mon Feb 9 12:11:35 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 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=1680258725; cv=none; d=zohomail.com; s=zohoarc; b=PoRBL1Oyug20oHtsBckwEIHykuECYKGf+ygJHBmRKQVUghMfLldM//oZj/qH8MSsLIVdPqXJBM+CUWtu9oQTGCFEyXYY5gUWS3bGPpEiApNi83Spco1gSCgM9OCCNm4oY5aENP1oM0GucR+FT/XZSH5isOuiIDc4qCMp1zjSBNE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680258725; h=Content-Type:Content-Transfer-Encoding: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=u5Y2mkdI5gtNPyhTpm+0f76l/ULtGtnia2Wsr5nMh3E=; b=Sj52qHvf4MM3pocpwJ0Yea5r+lxGmMLa9SeLwh6WKwXd9Ehn+NWBdBRxiUpFHd0YjQ88igZFlt/tsZegyt6lQwOOC5te74bg3KR/crKYv36npgdw6yYDMS4VlTyFyuwZqh0Qyehcuvf5oymyU7zyNW59V/ObrLWN5uZ0OyVQrOs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1680258725325341.0777445799454; Fri, 31 Mar 2023 03:32:05 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-441-AlZrBlEEP3WFxpxtJKxdSA-1; Fri, 31 Mar 2023 06:30:51 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2D933857FB2; Fri, 31 Mar 2023 10:30:49 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id E708FC15BBA; Fri, 31 Mar 2023 10:30:48 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id B8DBE19466DF; Fri, 31 Mar 2023 10:30:48 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id EAEC71946A4C for ; Fri, 31 Mar 2023 10:30:46 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id CE8F6C15BBA; Fri, 31 Mar 2023 10:30:46 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.45.242.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1D078C15BA0 for ; Fri, 31 Mar 2023 10:30:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680258723; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=u5Y2mkdI5gtNPyhTpm+0f76l/ULtGtnia2Wsr5nMh3E=; b=BZ0UI5sWO1F6UenbC87H1wMzjK9RVQTy5rxIoLdyiQvPkohXgCR4UeFgDJF1DFnUu3W8Qc lBT0/wO7gCE8K6hBupM9SzFK2vwPt4HmPGOFC5uhLijoaTg6VBm9ofUsgIgnx+hn9r5Dhn LgtUESQ5mL4+D4SuiZ3oGRHSi31wx0I= X-MC-Unique: AlZrBlEEP3WFxpxtJKxdSA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 1/7] qemuxml2argvtest: Remove obsolete negative tests Date: Fri, 31 Mar 2023 12:30:38 +0200 Message-Id: <6eaa0828f90f042f1b692b4890de8459c5178f0c.1680258522.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1680258726172100001 Content-Type: text/plain; charset="utf-8" The 'hostdev-subsys-mdev-vfio-ccw', 'hostdev-vfio-zpci', and 'hostdev-vfio-zpci-autogenerate-fids' test cases have negative versions which are invoked without capabilities. This does not make sense going forward as the tests are going to be switched to real capabilities. Remove them. Signed-off-by: Peter Krempa --- tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw.err | 1 - .../qemuxml2argvdata/hostdev-vfio-zpci-autogenerate-fids.err | 1 - tests/qemuxml2argvdata/hostdev-vfio-zpci.err | 1 - tests/qemuxml2argvtest.c | 5 ----- 4 files changed, 8 deletions(-) delete mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw.err delete mode 100644 tests/qemuxml2argvdata/hostdev-vfio-zpci-autogenerate-f= ids.err delete mode 100644 tests/qemuxml2argvdata/hostdev-vfio-zpci.err diff --git a/tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw.err b/test= s/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw.err deleted file mode 100644 index 88c13f62b6..0000000000 --- a/tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw.err +++ /dev/null @@ -1 +0,0 @@ -unsupported configuration: VFIO CCW device assignment is not supported by = this version of QEMU diff --git a/tests/qemuxml2argvdata/hostdev-vfio-zpci-autogenerate-fids.err= b/tests/qemuxml2argvdata/hostdev-vfio-zpci-autogenerate-fids.err deleted file mode 100644 index a0ca4fba5d..0000000000 --- a/tests/qemuxml2argvdata/hostdev-vfio-zpci-autogenerate-fids.err +++ /dev/null @@ -1 +0,0 @@ -XML error: No PCI buses available diff --git a/tests/qemuxml2argvdata/hostdev-vfio-zpci.err b/tests/qemuxml2a= rgvdata/hostdev-vfio-zpci.err deleted file mode 100644 index 842693b4e0..0000000000 --- a/tests/qemuxml2argvdata/hostdev-vfio-zpci.err +++ /dev/null @@ -1 +0,0 @@ -unsupported configuration: This QEMU binary doesn't support zPCI diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 4fada9725f..dbf8509f6d 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1750,8 +1750,6 @@ mymain(void) DO_TEST("hostdev-vfio-zpci", QEMU_CAPS_DEVICE_VFIO_PCI, QEMU_CAPS_DEVICE_ZPCI); - DO_TEST_PARSE_ERROR("hostdev-vfio-zpci-autogenerate-fids", - QEMU_CAPS_DEVICE_VFIO_PCI); DO_TEST_CAPS_ARCH_LATEST_PARSE_ERROR("hostdev-vfio-zpci-invalid-uid-va= lid-fid", "s390x"); DO_TEST_CAPS_ARCH_LATEST("hostdev-vfio-zpci-multidomain-many", "s390x"= ); DO_TEST_CAPS_ARCH_LATEST("hostdev-vfio-zpci-autogenerate", "s390x"); @@ -1764,8 +1762,6 @@ mymain(void) QEMU_CAPS_DEVICE_VFIO_PCI, QEMU_CAPS_DEVICE_PCI_BRIDGE, QEMU_CAPS_DEVICE_ZPCI); - DO_TEST_PARSE_ERROR("hostdev-vfio-zpci", - QEMU_CAPS_DEVICE_VFIO_PCI); DO_TEST_PARSE_ERROR("hostdev-vfio-zpci-duplicate", QEMU_CAPS_DEVICE_VFIO_PCI, QEMU_CAPS_DEVICE_ZPCI); @@ -1781,7 +1777,6 @@ mymain(void) DO_TEST_CAPS_ARCH_LATEST("hostdev-subsys-mdev-vfio-ccw", "s390x"); DO_TEST_CAPS_ARCH_LATEST("hostdev-subsys-mdev-vfio-ccw-boot", "s390x"); - DO_TEST_PARSE_ERROR_NOCAPS("hostdev-subsys-mdev-vfio-ccw"); DO_TEST_PARSE_ERROR("hostdev-subsys-mdev-vfio-ccw-duplicate-address", QEMU_CAPS_DEVICE_VFIO_CCW); DO_TEST_PARSE_ERROR("hostdev-subsys-mdev-vfio-ccw-invalid-address", --=20 2.39.2