From nobody Mon Feb 2 07:31:18 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=1769610708; cv=none; d=zohomail.com; s=zohoarc; b=C/5gYmT347TBWMXHmYh5vkGU3mll4AMT2gW6N0FVQlfwmN22WqJD/migbdU2uW2gSFDA7Z/jkTZk7aVV+pRiM5jKPqtBqvIwQFm99tEO9xDEh31UGxy401phFNMeXdOiRUaewxYOVu88zrMRtgvclTVB8TdWdhOutsepqqFv+pk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1769610708; 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=mrOBcZVy5/RZR6bpEPsVP2AEWtDLRn+mbbg2pSGUMLo=; b=RzWSGvPXSG3ry4mCbHq963l+AXiCinqCI7rlfABUzLVGvKRSzLi+LcGuipCYYe+T571FF8jWqY1oTpPX0auZz+pGMk/u43JOYPRFRSoCwN9aHGe8O2rriB1Hmp3mOSgfMTY4DvYYoRG56LT07PVOruqXkxY0R4pLNtYRfy1DMGY= 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 1769610708178136.44412111806798; Wed, 28 Jan 2026 06:31:48 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id 36D55419D9; Wed, 28 Jan 2026 09:31:47 -0500 (EST) Received: from [172.19.199.3] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id 42C5641AAD; Wed, 28 Jan 2026 09:30:58 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id 56F134182D; Wed, 28 Jan 2026 09:30:52 -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 9178941891 for ; Wed, 28 Jan 2026 09:30:50 -0500 (EST) Received: from mx-prod-mc-03.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-460-hUOhlexXN16ujEkVzhuudg-1; Wed, 28 Jan 2026 09:30:48 -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-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id C56DC1955D4A for ; Wed, 28 Jan 2026 14:30:47 +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 2E469195419A for ; Wed, 28 Jan 2026 14:30:46 +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=1769610650; 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=mrOBcZVy5/RZR6bpEPsVP2AEWtDLRn+mbbg2pSGUMLo=; b=C3U1kn9BoU35p1AIndkgm/tEoApEAY3vd7fDks4OA1F1irCiOYJnz7FmT/5znSdahCgzV3 V+PbSkCKxkA6ETaJarUQUfBU+a68oIIsaUa8lyKRGQcWBeTk0dsXkCC3LxvWNwfW4H13je TgDwP3SPpWN/rO7l034R5aEhWFkCMlY= X-MC-Unique: hUOhlexXN16ujEkVzhuudg-1 X-Mimecast-MFC-AGG-ID: hUOhlexXN16ujEkVzhuudg_1769610647 To: devel@lists.libvirt.org Subject: [PATCH 01/20] tests: Avoid crossdir inclusion for networkxml2* tests Date: Wed, 28 Jan 2026 15:30:22 +0100 Message-ID: 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: 0vyKoDgB852ilSXFXIEJDxjgN4a1tY4PuIrR9Th5wpo_1769610647 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: AP33QMTQ53W5SH3N5IGKXQJZ7C76AIUG X-Message-ID-Hash: AP33QMTQ53W5SH3N5IGKXQJZ7C76AIUG 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: 1769610714186158500 Content-Type: text/plain; charset="utf-8"; x-default="true" From: Michal Privoznik Instead of including network driver header files as: #include "network/header.h" pass network_inc_dir to the compiler and include files directly. Signed-off-by: Michal Privoznik --- tests/meson.build | 6 +++--- tests/networkxml2conftest.c | 2 +- tests/networkxml2firewalltest.c | 2 +- tests/networkxml2xmltest.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/meson.build b/tests/meson.build index b963047732..4b93fb405a 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -407,9 +407,9 @@ endif =20 if conf.has('WITH_NETWORK') tests +=3D [ - { 'name': 'networkxml2conftest', 'link_with': [ network_driver_impl ] = }, - { 'name': 'networkxml2firewalltest', 'link_with': [ network_driver_imp= l ] }, - { 'name': 'networkxml2xmltest', 'link_with': [ network_driver_impl ] }, + { 'name': 'networkxml2conftest', 'include': [ network_inc_dir ], 'link= _with': [ network_driver_impl ] }, + { 'name': 'networkxml2firewalltest', 'include': [ network_inc_dir ], '= link_with': [ network_driver_impl ] }, + { 'name': 'networkxml2xmltest', 'include': [ network_inc_dir ], 'link_= with': [ network_driver_impl ], }, ] endif =20 diff --git a/tests/networkxml2conftest.c b/tests/networkxml2conftest.c index d18985e060..40b9d07d31 100644 --- a/tests/networkxml2conftest.c +++ b/tests/networkxml2conftest.c @@ -9,7 +9,7 @@ #include "testutils.h" #include "network_conf.h" #include "viralloc.h" -#include "network/bridge_driver.h" +#include "bridge_driver.h" #define LIBVIRT_VIRCOMMANDPRIV_H_ALLOW #include "vircommandpriv.h" =20 diff --git a/tests/networkxml2firewalltest.c b/tests/networkxml2firewalltes= t.c index f7b87ff798..e32f1b281e 100644 --- a/tests/networkxml2firewalltest.c +++ b/tests/networkxml2firewalltest.c @@ -27,7 +27,7 @@ =20 # include =20 -# include "network/bridge_driver_platform.h" +# include "bridge_driver_platform.h" # include "virbuffer.h" # include "virmock.h" =20 diff --git a/tests/networkxml2xmltest.c b/tests/networkxml2xmltest.c index 0783d84915..59266defb6 100644 --- a/tests/networkxml2xmltest.c +++ b/tests/networkxml2xmltest.c @@ -8,7 +8,7 @@ #include "internal.h" #include "testutils.h" #include "network_conf.h" -#include "network/bridge_driver.h" +#include "bridge_driver.h" =20 #define VIR_FROM_THIS VIR_FROM_NONE =20 --=20 2.52.0