From nobody Tue Nov 18 01:21:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@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 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1607378835; cv=none; d=zohomail.com; s=zohoarc; b=fS6DaaxnfELl+WFcJvN5QufWD/ZmnwW/h/7ByKJLFN2EZP2+PARWRDDqP0/md+mx8JVVII2kplSfXyhDmbOJHLPXCIivysM8eZT4ISvcEy3fmleGl+B0smvHOk5T4CkJ56PbpxMigbi25/rf9IzBTiJMmnIsT9bSn4uhsmilQ+g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1607378835; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=CEGb8dkgdsrer9l2221VVKE5XzqXxhTtFcOV5s3dobE=; b=JS0vKT5tzQpc0jp/iUd1LUnBREXQUqs1nErUgEvz8T4tOLpjQm9uQGiBSFvBoTe+I+slUtSPHFQu9/NTdmsg7c7bEBHMy7Wp/x0mkwGioSZrK03t4erY6foVjrKY21VTO8PXTq0O0fqGHhvze3DfnKnpPKjmZr8/DDxY+P1DtBY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1607378835807524.8247975267913; Mon, 7 Dec 2020 14:07:15 -0800 (PST) Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-53-HmSvNIkYPYSp-NdnSNPvaQ-1; Mon, 07 Dec 2020 17:07:13 -0500 Received: by mail-ej1-f69.google.com with SMTP id m11so4438681ejr.20 for ; Mon, 07 Dec 2020 14:07:12 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (101.red-88-21-206.staticip.rima-tde.net. [88.21.206.101]) by smtp.gmail.com with ESMTPSA id b11sm10754799edk.15.2020.12.07.14.07.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Dec 2020 14:07:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607378834; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CEGb8dkgdsrer9l2221VVKE5XzqXxhTtFcOV5s3dobE=; b=DtBCxPsDhVQ3EKRbxpeOVUjq+E/828GMr+LqLk7RilQiKVFos5gnj4nlnEWYR1iF1xANRH UkBlM36kxu3chCUanR3ykbqE1FeJyCJYpJZHevdTHBvmM8P+9hiHG4f/9ZOnh3gwlsO+mi vmPFePYJfO8NFzY6XYtArRz1pr7B1T8= X-MC-Unique: HmSvNIkYPYSp-NdnSNPvaQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CEGb8dkgdsrer9l2221VVKE5XzqXxhTtFcOV5s3dobE=; b=JdE32SlN8edeThiB0ZiF0M6hT8wqWegxOUH3wPTWS1n6UEeX78n5BlumyraK03Oqi4 sUik4vVRQ9qmmZn6U8uzk0wyuioJXeB9gvKITL5E6YlwntSgh/H3Ep6TBvzbdEeLVe/W z2NLHx87+/sJxRZZwe6p/6LYxLhGErFHaNX0WmsAcJ8YayqAOux7pVW/GVUinLrGe+a+ 4FlfPlZa9eLwd+0JMCV/A21LfWz+w7vT/1xLSgMQtjL9+VATIo4jv9kmi9UhwDv3uUep P9+XfR1dhb/h8BpSbTq6SPIakHAz4Bp1fl0VpJon69svbxpJrX0mhDKMeN9uz5Kj2cTD XZhA== X-Gm-Message-State: AOAM530a6U98kMdTxz00pbeCGUxYzfTo5o2p0yW2qfhfRXJ225Q64be6 I1f8zxJFg7T9zK83yprgShtpwSltI6tZicoAHHNTu9uVkW+IVdCTWgyaR/8+MBQxBaLXboZT0XA 9gw04T9B2TbqSkw== X-Received: by 2002:a17:906:1151:: with SMTP id i17mr21281334eja.250.1607378831793; Mon, 07 Dec 2020 14:07:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJzepdFQs89CDSfxtS0x7cJmXJ5OR6CeX4aVVn5E1+QoDxqF45qkNMtaaSWjoBvWGYt/9xXlKQ== X-Received: by 2002:a17:906:1151:: with SMTP id i17mr21281327eja.250.1607378831652; Mon, 07 Dec 2020 14:07:11 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Eduardo Habkost , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2] hw/core: Restrict 'fw-path-provider.c' to system mode emulation Date: Mon, 7 Dec 2020 23:07:09 +0100 Message-Id: <20201207220709.4017938-1-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) fw-path-provider.c is only consumed by qdev-fw.c, which itself is in softmmu_ss[], so we can restrict fw-path-provider.c to softmmu too. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- v2: Fix author email. --- hw/core/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/core/meson.build b/hw/core/meson.build index 4a744f3b5e7..032576f5717 100644 --- a/hw/core/meson.build +++ b/hw/core/meson.build @@ -1,7 +1,6 @@ # core qdev-related obj files, also used by *-user and unit tests hwcore_files =3D files( 'bus.c', - 'fw-path-provider.c', 'hotplug.c', 'qdev-properties.c', 'qdev.c', @@ -25,6 +24,7 @@ common_ss.add(when: 'CONFIG_XILINX_AXI', if_true: files('stream.c')) =20 softmmu_ss.add(files( + 'fw-path-provider.c', 'loader.c', 'machine-hmp-cmds.c', 'machine.c', --=20 2.26.2