From nobody Mon Feb 2 07:31:48 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1769611196; cv=none; d=zohomail.com; s=zohoarc; b=WSwsVXuSJ+xBv1hyTa8xsgr0lATdgXSFTvNrEMrCRCnkUuuMPeUF/0lnjvlcwU6k4Dvag49neyhRGmOmEVEG2d+4PZlKpdLG9IXOV2p8aArLLZxmsdqFyYFyMj4GEsnAWfKZRRX1EfVsLTDpOz/xWvctykLG/vfm1ZElmb6msa4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1769611196; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id:Cc; bh=FaQJQKLpDGDnideiBvS+kKxRmyZ8+K+HgxFWYVuQKag=; b=TswjhFxUY0PAGi7UZKScJCNQLlVZ6caX6B5eOIAXcCRv9VF/8sw7caLNk6XGWVUhUrQVHuUPB8Xk2t4IinRXItM/OAUGCQ6BCjxZy4IoAJoXvvTpey1zbGgxd36d9BCUM5E3Gw6StkwF7sE6ie6fBG2YQL7KdjzJHuShEuiSOgw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1769611196247979.0899940724438; Wed, 28 Jan 2026 06:39:56 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id 6E95A43F33; Wed, 28 Jan 2026 09:39:55 -0500 (EST) Received: from [172.19.199.3] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id A09BF43F69; Wed, 28 Jan 2026 09:31:14 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id 877A043F1B; Wed, 28 Jan 2026 09:31:10 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 73F28418BD for ; Wed, 28 Jan 2026 09:30:55 -0500 (EST) Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-146-rWel7Y9_N_qblL1pEAwjcg-1; Wed, 28 Jan 2026 09:30:53 -0500 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (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 mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id E7DDC1800614 for ; Wed, 28 Jan 2026 14:30:52 +0000 (UTC) Received: from moe (unknown [10.43.3.236]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 5113619541B2 for ; Wed, 28 Jan 2026 14:30:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1769610655; h=from:from: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; bh=FaQJQKLpDGDnideiBvS+kKxRmyZ8+K+HgxFWYVuQKag=; b=NiYqOZd2fFz58J4+ZvuEbdK/a2gMZTh5K2ThKo0wzRdOgtKHItm8FCgAyfQyCb2vn7zIDa OFZwJ8myApQcVg7jaEbNsA+S3e9jI/j3ToBWMGAtBZB60mUY1zEnaaO/lIrV9SnsqOC8Bk /z6lG+P2e7BP3Yb3kvANElkojYCiAMs= X-MC-Unique: rWel7Y9_N_qblL1pEAwjcg-1 X-Mimecast-MFC-AGG-ID: rWel7Y9_N_qblL1pEAwjcg_1769610653 To: devel@lists.libvirt.org Subject: [PATCH 06/20] networkxml2xmltest: Update couple of test cases Date: Wed, 28 Jan 2026 15:30:27 +0100 Message-ID: <44a10840a84f3f6a4f849ff9954623c924112959.1769610369.git.mprivozn@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: oDnVNkP90V3YRQ15jx3W0TGFM77veamDHKQPGT1x7Qw_1769610653 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: KVENDEY3KMKXSLAAU73FNDE76REWE4GS X-Message-ID-Hash: KVENDEY3KMKXSLAAU73FNDE76REWE4GS X-MailFrom: mprivozn@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Michal Privoznik via Devel Reply-To: Michal Privoznik X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1769611197383158500 Content-Type: text/plain; charset="utf-8"; x-default="true" From: Michal Privoznik Soon, individual test cases of networkxml2xmltest will be subject to networkValidate() call. This means, that input XMLs must be valid (or marked as expected fail). Anyway, there are couple of offenders: 1) 8021Qbh-net.xml setting vlan for is unsupported, 2) hostdev.xml networkValidate() will check if hostdevs specified for are VFs. Use PCI addresses from virpcimock. 3) openvswitch-net.xml for only openvswitch type of virtualports is allowed. Signed-off-by: Michal Privoznik --- tests/networkxml2xmlin/8021Qbh-net.xml | 3 --- tests/networkxml2xmlin/hostdev.xml | 6 ++---- tests/networkxml2xmlin/openvswitch-net.xml | 6 +++--- tests/networkxml2xmlout/8021Qbh-net.xml | 3 --- tests/networkxml2xmlout/hostdev.xml | 6 ++---- tests/networkxml2xmlout/openvswitch-net.xml | 6 +++--- tests/networkxml2xmlupdateout/openvswitch-net-modified.xml | 4 ++-- .../openvswitch-net-more-portgroups.xml | 6 +++--- .../openvswitch-net-without-alice.xml | 4 ++-- 9 files changed, 17 insertions(+), 27 deletions(-) diff --git a/tests/networkxml2xmlin/8021Qbh-net.xml b/tests/networkxml2xmli= n/8021Qbh-net.xml index 3aaab61db6..2d779dcac0 100644 --- a/tests/networkxml2xmlin/8021Qbh-net.xml +++ b/tests/networkxml2xmlin/8021Qbh-net.xml @@ -8,9 +8,6 @@ - - - diff --git a/tests/networkxml2xmlin/hostdev.xml b/tests/networkxml2xmlin/ho= stdev.xml index 03f141106f..94974804a7 100644 --- a/tests/networkxml2xmlin/hostdev.xml +++ b/tests/networkxml2xmlin/hostdev.xml @@ -2,9 +2,7 @@ hostdev 81ff0d90-c91e-6742-64da-4a736edb9a9b -
-
-
-
+
+
diff --git a/tests/networkxml2xmlin/openvswitch-net.xml b/tests/networkxml2= xmlin/openvswitch-net.xml index 2f6084d690..30c1e2af10 100644 --- a/tests/networkxml2xmlin/openvswitch-net.xml +++ b/tests/networkxml2xmlin/openvswitch-net.xml @@ -7,7 +7,7 @@ - + @@ -17,7 +17,7 @@ - + @@ -26,7 +26,7 @@ - + diff --git a/tests/networkxml2xmlout/8021Qbh-net.xml b/tests/networkxml2xml= out/8021Qbh-net.xml index 281466a9f7..d4d5b4b443 100644 --- a/tests/networkxml2xmlout/8021Qbh-net.xml +++ b/tests/networkxml2xmlout/8021Qbh-net.xml @@ -8,9 +8,6 @@ - - - diff --git a/tests/networkxml2xmlout/hostdev.xml b/tests/networkxml2xmlout/= hostdev.xml index 03f141106f..94974804a7 100644 --- a/tests/networkxml2xmlout/hostdev.xml +++ b/tests/networkxml2xmlout/hostdev.xml @@ -2,9 +2,7 @@ hostdev 81ff0d90-c91e-6742-64da-4a736edb9a9b -
-
-
-
+
+
diff --git a/tests/networkxml2xmlout/openvswitch-net.xml b/tests/networkxml= 2xmlout/openvswitch-net.xml index 2f6084d690..30c1e2af10 100644 --- a/tests/networkxml2xmlout/openvswitch-net.xml +++ b/tests/networkxml2xmlout/openvswitch-net.xml @@ -7,7 +7,7 @@ - + @@ -17,7 +17,7 @@ - + @@ -26,7 +26,7 @@ - + diff --git a/tests/networkxml2xmlupdateout/openvswitch-net-modified.xml b/t= ests/networkxml2xmlupdateout/openvswitch-net-modified.xml index cc0c344c1b..d52e91e564 100644 --- a/tests/networkxml2xmlupdateout/openvswitch-net-modified.xml +++ b/tests/networkxml2xmlupdateout/openvswitch-net-modified.xml @@ -7,7 +7,7 @@ - + @@ -26,7 +26,7 @@ - + diff --git a/tests/networkxml2xmlupdateout/openvswitch-net-more-portgroups.= xml b/tests/networkxml2xmlupdateout/openvswitch-net-more-portgroups.xml index 7c19ad9f48..069b2a01d8 100644 --- a/tests/networkxml2xmlupdateout/openvswitch-net-more-portgroups.xml +++ b/tests/networkxml2xmlupdateout/openvswitch-net-more-portgroups.xml @@ -18,7 +18,7 @@ - + @@ -28,7 +28,7 @@ - + @@ -37,7 +37,7 @@ - + diff --git a/tests/networkxml2xmlupdateout/openvswitch-net-without-alice.xm= l b/tests/networkxml2xmlupdateout/openvswitch-net-without-alice.xml index 41044240df..2fb0cf9f6d 100644 --- a/tests/networkxml2xmlupdateout/openvswitch-net-without-alice.xml +++ b/tests/networkxml2xmlupdateout/openvswitch-net-without-alice.xml @@ -7,7 +7,7 @@ - + @@ -16,7 +16,7 @@ - + --=20 2.52.0