From: Philippe Mathieu-Daudé Date: Mon, 10 Jul 2023 10:04:32 +0000 (+0200) Subject: hw/virtio: Build vhost-vdpa.o once X-Git-Tag: v8.2.0-rc0~88^2~47 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=05632635f84311f241ad4dbffdb591f97339a5dc;p=thirdparty%2Fqemu.git hw/virtio: Build vhost-vdpa.o once 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 --- diff --git a/hw/virtio/meson.build b/hw/virtio/meson.build index 13e7c6c272b..9737450afd6 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'))