aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-07-10 12:04:32 +0200
committerMichael S. Tsirkin <mst@redhat.com>2023-10-04 04:54:02 -0400
commit05632635f84311f241ad4dbffdb591f97339a5dc (patch)
tree6b060a93d3f226d88b87f9f0b5d3089d0dac8dcc /hw/virtio
parent33f21860b766701f92c01094dcfc5390974d4020 (diff)
downloadqemu-05632635f84311f241ad4dbffdb591f97339a5dc.zip
qemu-05632635f84311f241ad4dbffdb591f97339a5dc.tar.gz
qemu-05632635f84311f241ad4dbffdb591f97339a5dc.tar.bz2
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é <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230710100432.84819-1-philmd@linaro.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio')
-rw-r--r--hw/virtio/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/virtio/meson.build b/hw/virtio/meson.build
index 13e7c6c..9737450 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'))