From nobody Tue Nov 26 22:43:09 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1704012510; cv=none; d=zohomail.com; s=zohoarc; b=LpDU7kCZqEMJlOfGwr1fgHTMzwrKShAa1CXorXoeho5KMtxtC4p7Yfmefc72jT7JNWDjethnNPThODsTCVfb6pddqdDWAOr3/PRkTNSJCqlaSDsAJELfFu9tBkk0qLeElJrhEdeTe9XqDPx6ewfHglno+DAS6AI+d1+j1eMjllM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1704012510; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=1TrsSWgaeppLFY3uD7yu71z5NgBW4c4Mkrb/7uzvX5w=; b=BiVv3dAbnZPPjJvSZPPQWddwxo/dqhtSh03k8Zx2znEzwrijM8LAGgbHeXlKcVQWvR3DyZ1owQAPhlxvUNOaFxvhCkoNw82y6cRXYM8KrodASEHaaJFF8Q9tuAcy+tgKOsikMpI0S4i9XXjX331/BfjFL2U/1wefD2aLAkkBJ+M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1704012510145706.144079952843; Sun, 31 Dec 2023 00:48:30 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJrUU-0006xU-O1; Sun, 31 Dec 2023 03:48:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rJrTK-0005Vx-82 for qemu-devel@nongnu.org; Sun, 31 Dec 2023 03:47:04 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rJrTD-0000wY-IX for qemu-devel@nongnu.org; Sun, 31 Dec 2023 03:47:02 -0500 Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-267-I45cFuO6PTmcVbFXrz9ZFQ-1; Sun, 31 Dec 2023 03:46:52 -0500 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-40d4a29dca7so62704765e9.0 for ; Sun, 31 Dec 2023 00:46:52 -0800 (PST) Received: from [192.168.10.118] ([2001:b07:6468:f312:1c09:f536:3de6:228c]) by smtp.gmail.com with ESMTPSA id c10-20020a7bc2aa000000b0040d86e89abfsm1493800wmk.43.2023.12.31.00.46.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Dec 2023 00:46:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1704012414; 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=1TrsSWgaeppLFY3uD7yu71z5NgBW4c4Mkrb/7uzvX5w=; b=QQzdHHJOcG8PVRt65JbnKvxlbKCCZLM4rpoOFNUf3ZtwbH6roQ3JQYfGZdph9b/be5dP8a keoY9HxsLpo549KsJvx13gder9sZX3N2TtgMuLATjD4dOYy3tcCWS2oDyyT7uctaiDeYqS rs+nR7Zr4KZvl0pGh2GSf1QvJEHuQ44= X-MC-Unique: I45cFuO6PTmcVbFXrz9ZFQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704012411; x=1704617211; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1TrsSWgaeppLFY3uD7yu71z5NgBW4c4Mkrb/7uzvX5w=; b=WY8gI27hbR6q82uTTVavB+acg/5z6PWRRKVuWLoOEcU8HrnqeJIuV7DpuY3CHCs7ph LUUCcuSgaaWQE0TNdd4OQdl93Gd5x/kQucD5/qniRrtAp9yWJq2QYW4WNAgCdEZQMoeD i6oP/8myoBjg9Kj669LsxS2nTZpbiiMz3h4BZno2Fn+eVL9jNmjMvttipVvr27eIOMYQ M6/qsNcetzlYKoR8dbHF1qTbcC6R6XCX+n+EX81jUNeMUoA9CVKsGRj1+4QPrwVlthfX y99o0z65bV+HmO2w/G3BjSwBLfTOgLffjCClTfGd1x5yDToBRXGkGDgulyBqrrZhLLG/ +C5w== X-Gm-Message-State: AOJu0Yy/KigsY1h7Y3s+EyxXElXGlWsDNB8kbHNZKn9v4YaQuSXUWP/D Z66k3WH5w0Ci4v4CJk+qR+2r43kI/ADw/5GlWqj283637oqlS4jzIwdMXjcWoIQEROAOhdZWhPr Xaw6I0LadoOgU2SMDGfnYx+DLCr9ZH6j5jBtrNrlqshorHPKpIYoDtSs5Y1HCHr9G10IEZwwM/z mGR4VpdkE= X-Received: by 2002:a05:600c:4e94:b0:40d:509d:d05b with SMTP id f20-20020a05600c4e9400b0040d509dd05bmr6732129wmq.38.1704012411218; Sun, 31 Dec 2023 00:46:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IFHkQ3vs+UPZ4PNVvgRnJVWhoDWgg/J1pcu9t746BQ/hh4RcJSXydcaIu+CadMaQcK6a0LNMw== X-Received: by 2002:a05:600c:4e94:b0:40d:509d:d05b with SMTP id f20-20020a05600c4e9400b0040d509dd05bmr6732124wmq.38.1704012410785; Sun, 31 Dec 2023 00:46:50 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 43/46] meson: remove CONFIG_ALL Date: Sun, 31 Dec 2023 09:44:59 +0100 Message-ID: <20231231084502.235366-44-pbonzini@redhat.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231231084502.235366-1-pbonzini@redhat.com> References: <20231231084502.235366-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -47 X-Spam_score: -4.8 X-Spam_bar: ---- X-Spam_report: (-4.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.667, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1704012511280100003 Content-Type: text/plain; charset="utf-8" CONFIG_ALL is tricky to use and was ported over to Meson from the recursive processing of Makefile variables. Meson sourcesets however have all_sources() and all_dependencies() methods that remove the need for it. Signed-off-by: Paolo Bonzini --- docs/devel/build-system.rst | 15 --------------- fsdev/meson.build | 1 - hw/acpi/meson.build | 5 ----- hw/cxl/meson.build | 2 -- hw/display/meson.build | 1 - hw/mem/meson.build | 1 - hw/net/meson.build | 2 -- hw/pci-bridge/meson.build | 2 -- hw/pci/meson.build | 1 - hw/remote/meson.build | 1 - hw/smbios/meson.build | 5 ----- hw/virtio/meson.build | 2 -- meson.build | 32 +++++++------------------------- net/meson.build | 2 -- 14 files changed, 7 insertions(+), 65 deletions(-) diff --git a/docs/devel/build-system.rst b/docs/devel/build-system.rst index 43d6005881e..09caf2f8e19 100644 --- a/docs/devel/build-system.rst +++ b/docs/devel/build-system.rst @@ -256,21 +256,6 @@ Target-independent emulator sourcesets: ``system_ss`` only in system emulators, ``user_ss`` only in user-mode emulators. =20 - Target-independent sourcesets must exercise particular care when using - ``if_false`` rules. The ``if_false`` rule will be used correctly when l= inking - emulator binaries; however, when *compiling* target-independent files - into .o files, Meson may need to pick *both* the ``if_true`` and - ``if_false`` sides to cater for targets that want either side. To - achieve that, you can add a special rule using the ``CONFIG_ALL`` - symbol:: - - # Some targets have CONFIG_ACPI, some don't, so this is not enough - system_ss.add(when: 'CONFIG_ACPI', if_true: files('acpi.c'), - if_false: files('acpi-stub.c')) - - # This is required as well: - system_ss.add(when: 'CONFIG_ALL', if_true: files('acpi-stub.c')) - Target-dependent emulator sourcesets: In the target-dependent set lives CPU emulation, some device emulation a= nd much glue code. This sometimes also has to be compiled multiple times, diff --git a/fsdev/meson.build b/fsdev/meson.build index c76347615df..db67530d7f2 100644 --- a/fsdev/meson.build +++ b/fsdev/meson.build @@ -1,6 +1,5 @@ fsdev_ss =3D ss.source_set() fsdev_ss.add(files('qemu-fsdev-opts.c', 'qemu-fsdev-throttle.c')) -fsdev_ss.add(when: 'CONFIG_ALL', if_true: files('qemu-fsdev-dummy.c')) fsdev_ss.add(when: ['CONFIG_FSDEV_9P'], if_true: files( '9p-iov-marshal.c', '9p-marshal.c', diff --git a/hw/acpi/meson.build b/hw/acpi/meson.build index fc1b952379a..5441c9b1e4c 100644 --- a/hw/acpi/meson.build +++ b/hw/acpi/meson.build @@ -33,9 +33,4 @@ endif system_ss.add(when: 'CONFIG_ACPI', if_false: files('acpi-stub.c', 'aml-bui= ld-stub.c', 'ghes-stub.c', 'acpi_interface.c')) system_ss.add(when: 'CONFIG_ACPI_PCI_BRIDGE', if_false: files('pci-bridge-= stub.c')) system_ss.add_all(when: 'CONFIG_ACPI', if_true: acpi_ss) -system_ss.add(when: 'CONFIG_ALL', if_true: files('acpi-stub.c', 'aml-build= -stub.c', - 'acpi-x86-stub.c', 'ipmi= -stub.c', 'ghes-stub.c', - 'acpi-mem-hotplug-stub.c= ', 'acpi-cpu-hotplug-stub.c', - 'acpi-pci-hotplug-stub.c= ', 'acpi-nvdimm-stub.c', - 'cxl-stub.c', 'pci-bridg= e-stub.c')) system_ss.add(files('acpi-qmp-cmds.c')) diff --git a/hw/cxl/meson.build b/hw/cxl/meson.build index ea0aebf6e3c..3e375f61a98 100644 --- a/hw/cxl/meson.build +++ b/hw/cxl/meson.build @@ -11,5 +11,3 @@ system_ss.add(when: 'CONFIG_CXL', if_false: files( 'cxl-host-stubs.c', )) - -system_ss.add(when: 'CONFIG_ALL', if_true: files('cxl-host-stubs.c')) diff --git a/hw/display/meson.build b/hw/display/meson.build index 02b0044c9ec..ac0159c516e 100644 --- a/hw/display/meson.build +++ b/hw/display/meson.build @@ -143,5 +143,4 @@ endif =20 system_ss.add(when: 'CONFIG_OMAP', if_true: files('omap_lcdc.c')) =20 -system_ss.add(when: 'CONFIG_ALL', if_true: files('acpi-vga-stub.c')) modules +=3D { 'hw-display': hw_display_modules } diff --git a/hw/mem/meson.build b/hw/mem/meson.build index ec26ef55443..faee1fe9360 100644 --- a/hw/mem/meson.build +++ b/hw/mem/meson.build @@ -5,7 +5,6 @@ mem_ss.add(when: 'CONFIG_NPCM7XX', if_true: files('npcm7xx_= mc.c')) mem_ss.add(when: 'CONFIG_NVDIMM', if_true: files('nvdimm.c')) mem_ss.add(when: 'CONFIG_CXL_MEM_DEVICE', if_true: files('cxl_type3.c')) system_ss.add(when: 'CONFIG_CXL_MEM_DEVICE', if_false: files('cxl_type3_st= ubs.c')) -system_ss.add(when: 'CONFIG_ALL', if_true: files('cxl_type3_stubs.c')) =20 system_ss.add_all(when: 'CONFIG_MEM_DEVICE', if_true: mem_ss) =20 diff --git a/hw/net/meson.build b/hw/net/meson.build index f64651c467e..9afceb06191 100644 --- a/hw/net/meson.build +++ b/hw/net/meson.build @@ -50,7 +50,6 @@ specific_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files= ('virtio-net.c')) =20 if have_vhost_net system_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('vhost_net.c'), = if_false: files('vhost_net-stub.c')) - system_ss.add(when: 'CONFIG_ALL', if_true: files('vhost_net-stub.c')) else system_ss.add(files('vhost_net-stub.c')) endif @@ -69,7 +68,6 @@ system_ss.add(when: 'CONFIG_ROCKER', if_true: files( 'rocker/rocker_of_dpa.c', 'rocker/rocker_world.c', ), if_false: files('rocker/qmp-norocker.c')) -system_ss.add(when: 'CONFIG_ALL', if_true: files('rocker/qmp-norocker.c')) system_ss.add(files('rocker/rocker-hmp-cmds.c')) =20 subdir('can') diff --git a/hw/pci-bridge/meson.build b/hw/pci-bridge/meson.build index 6d5ad9f37b2..f2a60434dda 100644 --- a/hw/pci-bridge/meson.build +++ b/hw/pci-bridge/meson.build @@ -13,5 +13,3 @@ pci_ss.add(when: 'CONFIG_CXL', if_true: files('cxl_root_p= ort.c', 'cxl_upstream.c pci_ss.add(when: 'CONFIG_SIMBA', if_true: files('simba.c')) =20 system_ss.add_all(when: 'CONFIG_PCI', if_true: pci_ss) - -system_ss.add(when: 'CONFIG_ALL', if_true: files('pci_expander_bridge_stub= s.c')) diff --git a/hw/pci/meson.build b/hw/pci/meson.build index b1855452f5b..b9c34b2acfe 100644 --- a/hw/pci/meson.build +++ b/hw/pci/meson.build @@ -20,4 +20,3 @@ system_ss.add(when: 'CONFIG_PCI_EXPRESS', if_true: files(= 'pcie_port.c', 'pcie_ho system_ss.add_all(when: 'CONFIG_PCI', if_true: pci_ss) =20 system_ss.add(when: 'CONFIG_PCI', if_false: files('pci-stub.c')) -system_ss.add(when: 'CONFIG_ALL', if_true: files('pci-stub.c')) diff --git a/hw/remote/meson.build b/hw/remote/meson.build index a3aa29aaf17..41eb4971d98 100644 --- a/hw/remote/meson.build +++ b/hw/remote/meson.build @@ -11,7 +11,6 @@ remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files= ('iommu.c')) remote_ss.add(when: 'CONFIG_VFIO_USER_SERVER', if_true: libvfio_user_dep) remote_ss.add(when: 'CONFIG_VFIO_USER_SERVER', if_true: files('vfio-user-o= bj.c'), if_false: files('vfio-user-obj-stub.c')) -remote_ss.add(when: 'CONFIG_ALL', if_true: files('vfio-user-obj-stub.c')) =20 specific_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('memory.c')) specific_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('proxy-memory-= listener.c')) diff --git a/hw/smbios/meson.build b/hw/smbios/meson.build index 6eeae4b35c2..70469674621 100644 --- a/hw/smbios/meson.build +++ b/hw/smbios/meson.build @@ -6,8 +6,3 @@ smbios_ss.add(when: 'CONFIG_IPMI', =20 system_ss.add_all(when: 'CONFIG_SMBIOS', if_true: smbios_ss) system_ss.add(when: 'CONFIG_SMBIOS', if_false: files('smbios-stub.c')) - -system_ss.add(when: 'CONFIG_ALL', if_true: files( - 'smbios-stub.c', - 'smbios_type_38-stub.c', -)) diff --git a/hw/virtio/meson.build b/hw/virtio/meson.build index c0055a78326..c8c1001451d 100644 --- a/hw/virtio/meson.build +++ b/hw/virtio/meson.build @@ -74,8 +74,6 @@ specific_virtio_ss.add_all(when: 'CONFIG_VIRTIO_PCI', if_= true: virtio_pci_ss) system_ss.add_all(when: 'CONFIG_VIRTIO', if_true: system_virtio_ss) system_ss.add(when: 'CONFIG_VIRTIO', if_false: files('vhost-stub.c')) system_ss.add(when: 'CONFIG_VIRTIO', if_false: files('virtio-stub.c')) -system_ss.add(when: 'CONFIG_ALL', if_true: files('vhost-stub.c')) -system_ss.add(when: 'CONFIG_ALL', if_true: files('virtio-stub.c')) system_ss.add(files('virtio-hmp-cmds.c')) =20 specific_ss.add_all(when: 'CONFIG_VIRTIO', if_true: specific_virtio_ss) diff --git a/meson.build b/meson.build index 7aa06dc7c1b..6e5a8a5b48e 100644 --- a/meson.build +++ b/meson.build @@ -2888,7 +2888,6 @@ minikconf =3D find_program('scripts/minikconf.py') =20 config_all =3D {} config_all_devices =3D {} -config_all_disas =3D {} config_devices_mak_list =3D [] config_devices_h =3D {} config_target_h =3D {} @@ -3014,7 +3013,6 @@ foreach target : target_dirs if host_arch.startswith(k) or config_target['TARGET_BASE_ARCH'].starts= with(k) foreach sym: v config_target +=3D { sym: 'y' } - config_all_disas +=3D { sym: 'y' } endforeach endif endforeach @@ -3073,24 +3071,6 @@ foreach target : target_dirs endforeach target_dirs =3D actual_target_dirs =20 -# This configuration is used to build files that are shared by -# multiple binaries, and then extracted out of the "common" -# static_library target. -# -# We do not use all_sources()/all_dependencies(), because it would -# build literally all source files, including devices only used by -# targets that are not built for this compilation. The CONFIG_ALL -# pseudo symbol replaces it. - -config_all +=3D config_all_devices -config_all +=3D config_all_disas -config_all +=3D { - 'CONFIG_XEN': xen.found(), - 'CONFIG_SYSTEM_ONLY': have_system, - 'CONFIG_USER_ONLY': have_user, - 'CONFIG_ALL': true, -} - target_configs_h =3D [] foreach target: target_dirs target_configs_h +=3D config_target_h[target] @@ -3556,7 +3536,7 @@ foreach d, list : modules =20 foreach m, module_ss : list if enable_modules - module_ss =3D module_ss.apply(config_all, strict: false) + module_ss =3D module_ss.apply(config_all_devices, strict: false) sl =3D static_library(d + '-' + m, [genh, module_ss.sources()], dependencies: [modulecommon, module_ss.dependenc= ies()], pic: true) if d =3D=3D 'block' @@ -3751,13 +3731,15 @@ common_ss.add(qom, qemuutil) common_ss.add_all(when: 'CONFIG_SYSTEM_ONLY', if_true: [system_ss]) common_ss.add_all(when: 'CONFIG_USER_ONLY', if_true: user_ss) =20 -common_all =3D common_ss.apply(config_all, strict: false) +# Note that this library is never used directly (only through extract_obje= cts) +# and is not built by default; therefore, source files not used by the bui= ld +# configuration will be in build.ninja, but are never built by default. common_all =3D static_library('common', build_by_default: false, - sources: common_all.sources() + genh, + sources: common_ss.all_sources() + genh, include_directories: common_user_inc, implicit_include_directories: false, - dependencies: common_all.dependencies(), + dependencies: common_ss.all_dependencies(), name_suffix: 'fa') =20 feature_to_c =3D find_program('scripts/feature_to_c.py') @@ -4230,7 +4212,7 @@ if have_system if xen.found() summary_info +=3D {'xen ctrl version': xen.version()} endif - summary_info +=3D {'Xen emulation': config_all.has_key('CONFIG_XEN_E= MU')} + summary_info +=3D {'Xen emulation': config_all_devices.has_key('CONF= IG_XEN_EMU')} endif summary_info +=3D {'TCG support': config_all.has_key('CONFIG_TCG')} if config_all.has_key('CONFIG_TCG') diff --git a/net/meson.build b/net/meson.build index ce99bd4447f..a53f18ad7b4 100644 --- a/net/meson.build +++ b/net/meson.build @@ -41,7 +41,6 @@ system_ss.add(when: libxdp, if_true: files('af-xdp.c')) =20 if have_vhost_net_user system_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('vhost-user.c'),= if_false: files('vhost-user-stub.c')) - system_ss.add(when: 'CONFIG_ALL', if_true: files('vhost-user-stub.c')) endif =20 if targetos =3D=3D 'windows' @@ -57,7 +56,6 @@ else endif if have_vhost_net_vdpa system_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('vhost-vdpa.c'),= if_false: files('vhost-vdpa-stub.c')) - system_ss.add(when: 'CONFIG_ALL', if_true: files('vhost-vdpa-stub.c')) endif =20 vmnet_files =3D files( --=20 2.43.0