From patchwork Mon Jul 10 10:04:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1805646 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=BZFyNP0Q; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4R004Y1QWyz20WT for ; Mon, 10 Jul 2023 20:05:31 +1000 (AEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qInlE-0001Rd-0n; Mon, 10 Jul 2023 06:04:52 -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 1qInlB-0001RM-Ec for qemu-devel@nongnu.org; Mon, 10 Jul 2023 06:04:49 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qInl8-0001tu-0i for qemu-devel@nongnu.org; Mon, 10 Jul 2023 06:04:47 -0400 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-3fbc77e76abso44947315e9.1 for ; Mon, 10 Jul 2023 03:04:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688983484; x=1691575484; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6LMOPfhO5ibhIM8wguQENwLu/kd+mXHQhja7vg27N5M=; b=BZFyNP0Qvl6j3gQGtMAYdILycCI3bmo3AqAhaVykrziftbX12Idqe5U72qpomxvm0o 8hoObCvqVkSDfcrb7nstleDEKPmhMe7xC67+i8zjWtj/1J8tAJRHLz2n4JtnLl0Rl1/f 1u+F1OUbmaY9vsUT6rpkl6zTDPmRRBv9uai8EtFc8blOsN8wGkrl3Oc/EZAs+6ugaESi yXXGczvK1UtrbE3R+nTSFHz3BE8W1/OSFguqWkaZCUXZuHI4DJlkJS0n7QNI6dJMvX1G iONVSo06r4UBHGL5i4u8QwiIorva/aExBbrVYtyqv0g5l5K3jUpofbivtWiH8DO40w+0 9nBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688983484; x=1691575484; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6LMOPfhO5ibhIM8wguQENwLu/kd+mXHQhja7vg27N5M=; b=gTEKX0zsPyw8fFIKxd2eZ7dSxLWjSP+8mz5wxt6FJiYyUjIv17+CvzlQM+lq/8piMs Dbm2QSI3FleRyB8FibjHyzYLTDtJiUqnp2hVGVCIqeNm22PAdq/9GbCJSz3HGtmodUDQ BCAW84p2XAYrHJUNM7U/fu5DLTEWliG+/t9ZF7eePj8Mot1kobAwmYSMJ/MqK6olP8S/ edfnuv+5t0AlfyQKsrRuc6Obr/fgF5dDWDyehiWxil1KgSF5ecVnOhNkHj43UyvDK82t HHdBysZ07Tc7pnB5yl9xluxxRlE1ONVH9MDtfq5sne5mtw0V+znbZ05xS4x0rCcPkJsJ +bxA== X-Gm-Message-State: ABy/qLaiz0LHjP6k7kkdZeCqww7cILfW05pfbJcLch0TpsqRg/52t2Tl KS/TGfK8WSxr51b1XWRSZ/2KEg== X-Google-Smtp-Source: APBJJlF+5eR2+tIQ8/8+yyJImhnGzukopvdLQ7e72aOHcQEPv4yL+4VzHkt1/kWzexyhDgQGMPNzTg== X-Received: by 2002:a05:6000:144:b0:313:ee3e:50c5 with SMTP id r4-20020a056000014400b00313ee3e50c5mr10395648wrx.20.1688983483964; Mon, 10 Jul 2023 03:04:43 -0700 (PDT) Received: from localhost.localdomain (70.red-88-28-30.dynamicip.rima-tde.net. [88.28.30.70]) by smtp.gmail.com with ESMTPSA id u12-20020adfdd4c000000b0030ab5ebefa8sm11222109wrm.46.2023.07.10.03.04.41 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 10 Jul 2023 03:04:43 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: Cc: Thomas Huth , "Michael S . Tsirkin" , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson Subject: [PATCH v3 5/6] hw/virtio: Build vhost-vdpa.o once Date: Mon, 10 Jul 2023 12:04:32 +0200 Message-Id: <20230710100432.84819-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230710094931.84402-1-philmd@linaro.org> References: <20230710094931.84402-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=philmd@linaro.org; helo=mail-wm1-x336.google.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 --- 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 f32b22f61b..900864c1be 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'))