From patchwork Thu Oct 5 03:42:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 729698 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a4e:0:b0:31d:da82:a3b4 with SMTP id v14csp677973wrs; Wed, 4 Oct 2023 20:44:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF0VPW+fpplDtJU1zQ/JOhoO+88ymN5moZ6xuUhSqb5H8PNxcjpoEBE7N4BWx7LTqrXP0UU X-Received: by 2002:a05:620a:1924:b0:774:179d:6576 with SMTP id bj36-20020a05620a192400b00774179d6576mr5166725qkb.50.1696477471464; Wed, 04 Oct 2023 20:44:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696477471; cv=none; d=google.com; s=arc-20160816; b=mmj/bFi/mfYuCK/+5CLJEeuxEDiI8pVmSyi0CRE2gZKte0TeGXOFfbR7azMZSboj5O NBLzuSpG7TfvX1UZ8dAb4bH+NrMg/zQnf2BUBsCwIwDOHw457+nTEim9Qv+rBCEZDP9r BInCs36BEDKeyt+Fll+6l5wZf/W7mElw9PbJPlhcOBIWMdftZyBMI4YWlfSovGxT6nkp PkxHlaEyDBsfmECCph7oZkYAlJFyxn6rUlUbkEwZ6VAWNOeC19wBNHGcKQ/GIK8ccyXB wl4IfU124GeykWToodoDxb0I7vhCl8KI2kQUYNkDx01z+wi/REfqZMV+uFr2EMT0EEbJ Z0Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NW2NOMzgBdCNK5ZXMj4UrgviAiZWrBVJEYGFoltgO4I=; fh=Kpn8NUdv7wKUydTeMx58meD3bhQtHIgecefqqY6gi54=; b=uvayUPcSQ32OUA+zoaD6mIIJrkB/jvSohCQu1FKqysDPk0iGbAZcQdBWwl3Ibbh6K5 Y2c03dFcKUhGQqyRgJ5BPikGcLWBRG0fadfi0uHUEySfQ6P/DOQCfiRQNerM3DfLn2wd 0hDlNTIbyZSAdeSmjh+tGlHFCXZl5MwIJ2eSqjU+LMmls12JZMixHbAApy7rJU1sTFRV KV5dpOvm67VIyQzcknv0vRY3QB3680mNe5FYum2Eerj2CyPQPutSpzWQOfmF556mduT5 TTW0e30SjPYWJzwse7TpoIZxR9oe9xyJi0CsnQRZHc4D7ZFwyUbYzbAsyLV75EeoBJ5W Lp1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gkj6KACq; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id az35-20020a05620a172300b00775cadf4b83si349028qkb.249.2023.10.04.20.44.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 04 Oct 2023 20:44:31 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gkj6KACq; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoFGP-0001IY-27; Wed, 04 Oct 2023 23:43:02 -0400 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 1qoFGM-0001H4-9A for qemu-devel@nongnu.org; Wed, 04 Oct 2023 23:42:58 -0400 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 1qoFGK-0007zN-Pz for qemu-devel@nongnu.org; Wed, 04 Oct 2023 23:42:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1696477376; 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: in-reply-to:in-reply-to:references:references; bh=NW2NOMzgBdCNK5ZXMj4UrgviAiZWrBVJEYGFoltgO4I=; b=gkj6KACqsmoUoFIcy4NfKY/yMeZeEz8yRNp27KYx6o/+VIssSEK9WKOuBy6ps+YCaHNAis iJ9ABkaoWfqark4SoiJ+fnd/AebpQQEMH1wBxEt2XePlpF0xJTPMDkTaiLPEBv6sHXMEjE 6s6I1HxiHqLRWm9uxWkMK9UIYQ0Xmcs= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-49-lj1SKyVfPGK5XO4RmZ1HbA-1; Wed, 04 Oct 2023 23:42:49 -0400 X-MC-Unique: lj1SKyVfPGK5XO4RmZ1HbA-1 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-3f42bcef2acso3144215e9.2 for ; Wed, 04 Oct 2023 20:42:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696477367; x=1697082167; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NW2NOMzgBdCNK5ZXMj4UrgviAiZWrBVJEYGFoltgO4I=; b=gLtUzq/WWzGlo6KKEOc/Md+WyMgxMSqLBR64CH3KETf9XfEnZ9NdSQLMPdDkvwpWbw JxeQVw2TplJ80nHnK2gDkQwKfFVFE03um7cBFjvGgNRA9Z0i5H2K1/edcD7+QosCd1En kqKbs16OPXxgdVYaNxPRuNmKHev8XoGNB/ZEXwTGmkFMxkvmPA8mC8DnMRynnSdti0yW 9DA7hTEsPMwXolVq1QCxWLiflB/y5BaeX/liFuS0SCK6NQITh9N1Dnla17QwLY6DYglQ 8KA/Y6S+AcO/baAHNHOmWKQciZwljQylrv+Fs2y7OyGd1jepo/3uaFUo4gNTspuQuMUD bnog== X-Gm-Message-State: AOJu0Yxg1doQBP6QkaJT9htM3G3lnOFLmW58xPjg4N1Ry/wMYEIo46F5 gMTOWUzo3WnRQ5I588stESyLDuLBQaJDjJ+ipoc07KzqeOQEj5msXGkQ6tiMJDZhwHqnXtWE29S rmsFul3OZkHAUB3qSXHW6QcpX3zStEp2BSto7ev+RwxxxJ5p6c6w6SMfR5ox1dvxhQ+KA X-Received: by 2002:a7b:c851:0:b0:406:5301:4320 with SMTP id c17-20020a7bc851000000b0040653014320mr3855862wml.16.1696477367089; Wed, 04 Oct 2023 20:42:47 -0700 (PDT) X-Received: by 2002:a7b:c851:0:b0:406:5301:4320 with SMTP id c17-20020a7bc851000000b0040653014320mr3855850wml.16.1696477366867; Wed, 04 Oct 2023 20:42:46 -0700 (PDT) Received: from redhat.com ([2.52.137.96]) by smtp.gmail.com with ESMTPSA id x2-20020a1c7c02000000b003fe23b10fdfsm2760216wmc.36.2023.10.04.20.42.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 20:42:46 -0700 (PDT) Date: Wed, 4 Oct 2023 23:42:42 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell , Philippe =?utf-8?q?Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , Richard Henderson , Alex =?utf-8?q?Benn=C3=A9?= =?utf-8?q?e?= , Stefano Garzarella Subject: [PULL v2 06/53] hw/virtio: Build vhost-vdpa.o once Message-ID: <05632635f84311f241ad4dbffdb591f97339a5dc.1696477105.git.mst@redhat.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Mailer: git-send-email 2.27.0.106.g8ac3dc51b1 X-Mutt-Fcc: =sent Received-SPF: pass client-ip=170.10.129.124; envelope-from=mst@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, 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 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé The previous commit removed the dependencies on the target-specific TARGET_PAGE_FOO macros. We can now move vhost-vdpa.c to the 'softmmu_virtio_ss' source set to build it once for all our targets. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20230710100432.84819-1-philmd@linaro.org> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/virtio/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/virtio/meson.build b/hw/virtio/meson.build index 13e7c6c272..9737450afd 100644 --- a/hw/virtio/meson.build +++ b/hw/virtio/meson.build @@ -18,7 +18,8 @@ if have_vhost specific_virtio_ss.add(files('vhost-user.c')) endif if have_vhost_vdpa - specific_virtio_ss.add(files('vhost-vdpa.c', 'vhost-shadow-virtqueue.c')) + softmmu_virtio_ss.add(files('vhost-vdpa.c')) + specific_virtio_ss.add(files('vhost-shadow-virtqueue.c')) endif else softmmu_virtio_ss.add(files('vhost-stub.c'))