From nobody Tue Mar 24 00:58:28 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=1773302523; cv=none; d=zohomail.com; s=zohoarc; b=agKQZtb5be1wivSgUVzzGKsAbyMxZsOkIawye/04au5AVC2PAJm7gqQnX9UnB9JM3gpu03OxZmB7p0Jw4/PwUuXJnxBa/w3NQCuDchFzCYC+O/WKmRPpyyJvoisGd3nQh4dyzVI02SfI1FF2QLrRSzgrkAeZ0ZQNqzkFLOO1Jas= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773302523; 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=3T7yLJqwIARMe897aiwZYYo7a9Wn0/Ix9Y89EdQpVx8=; b=g4pgsM1mplh18p5yL3yCw9PcX3USxOyegnCFcrRAjRJbzCJbp+zO17c5S7UmbSdd7zcRYUD6woHD8Crm5YMzCptVQS/j2jo0gkTNEcSDnkxayUecrvxQzpzQqToPdHJMNC/B0od3XxuBeuAPsXHYkKa7rOLhFClNfyxQTnxaB2M= 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 1773302523113398.4129476674426; Thu, 12 Mar 2026 01:02:03 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 993) id 4A23040474; Thu, 12 Mar 2026 04:02:02 -0400 (EDT) Received: from [172.19.199.12] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id 90BC941B90; Thu, 12 Mar 2026 03:57:36 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 993) id 7809041962; Thu, 12 Mar 2026 03:57:29 -0400 (EDT) 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 D63453F34D for ; Thu, 12 Mar 2026 03:57:26 -0400 (EDT) Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-478-YRkqBTY7NJ2T7zdcXFQ_NA-1; Thu, 12 Mar 2026 03:57:24 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id E4A191953991 for ; Thu, 12 Mar 2026 07:57:23 +0000 (UTC) Received: from moe (unknown [10.43.3.236]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 4F13C180049D for ; Thu, 12 Mar 2026 07:57:23 +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=-2.6 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HELO_MISC_IP,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=1773302246; 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=3T7yLJqwIARMe897aiwZYYo7a9Wn0/Ix9Y89EdQpVx8=; b=GQ6zhWcjtA+LxgMVv3/hphjQME2PwIf7oH7wc4ImITCoxT1R4qULyiKTlkkuz40m6ZCM0V hZfHkcCWkYshS+SIScIk+JDx1UTFWmWnN7q58XySzg4ajETabo0Kf/q3blKTX4rfoNCvmu 3lLtlDBQLUqDhGmeHvEzuBp49Ec0wtA= X-MC-Unique: YRkqBTY7NJ2T7zdcXFQ_NA-1 X-Mimecast-MFC-AGG-ID: YRkqBTY7NJ2T7zdcXFQ_NA_1773302244 To: devel@lists.libvirt.org Subject: [PATCH 3/5] virnetworkportxml2xmldata: Use different PCI address in plug-hostdev-pci.xml Date: Thu, 12 Mar 2026 08:57:12 +0100 Message-ID: <31776146cb1d29867b837cadc688d21cb984f487.1773302208.git.mprivozn@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: CeLAjbnFIZF8fi6PQO5SbfuML10BeyHgNnZlTOxmb8U_1773302244 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 4BJHP6SYWURM4CCVFFQNPTRXZSXH7YL6 X-Message-ID-Hash: 4BJHP6SYWURM4CCVFFQNPTRXZSXH7YL6 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: 1773302523852158500 Content-Type: text/plain; charset="utf-8"; x-default="true" From: Michal Privoznik Inside of plug-hostdev-pci.xml there's a PCI address of an allocated PCI device for an . Currently, there's some made up address. But this specific file is going to be used from qemuhotplugtest soon and as such it needs an PCI address that virpcimock creates. Switch it to 0000:06:12.2. Signed-off-by: Michal Privoznik --- .../net-virtio-teaming-network.x86_64-latest.args | 2 +- tests/virnetworkportxml2xmldata/plug-hostdev-pci.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/qemuxmlconfdata/net-virtio-teaming-network.x86_64-latest= .args b/tests/qemuxmlconfdata/net-virtio-teaming-network.x86_64-latest.args index 0c07ec4c70..a3dada0f07 100644 --- a/tests/qemuxmlconfdata/net-virtio-teaming-network.x86_64-latest.args +++ b/tests/qemuxmlconfdata/net-virtio-teaming-network.x86_64-latest.args @@ -32,7 +32,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -netdev '{"type":"tap","fd":"102","vhost":true,"vhostfd":"44","id":"hostua= -backup0"}' \ -device '{"driver":"virtio-net-pci","failover":true,"netdev":"hostua-backu= p0","id":"ua-backup0","mac":"00:11:22:33:44:55","bus":"pci.0","addr":"0x2"}= ' \ -audiodev '{"id":"audio1","driver":"none"}' \ --device '{"driver":"vfio-pci","host":"0001:02:03.4","id":"hostdev0","failo= ver_pair_id":"ua-backup0","bus":"pci.0","addr":"0x3"}' \ +-device '{"driver":"vfio-pci","host":"0000:06:12.2","id":"hostdev0","failo= ver_pair_id":"ua-backup0","bus":"pci.0","addr":"0x3"}' \ -device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.0","add= r":"0x4"}' \ -sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,resource= control=3Ddeny \ -msg timestamp=3Don diff --git a/tests/virnetworkportxml2xmldata/plug-hostdev-pci.xml b/tests/v= irnetworkportxml2xmldata/plug-hostdev-pci.xml index 7354e1d48c..8b058d9244 100644 --- a/tests/virnetworkportxml2xmldata/plug-hostdev-pci.xml +++ b/tests/virnetworkportxml2xmldata/plug-hostdev-pci.xml @@ -6,6 +6,6 @@ -
+
--=20 2.52.0