mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-02 22:41:07 +00:00
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>
This commit is contained in:
parent
33f21860b7
commit
05632635f8
1 changed files with 2 additions and 1 deletions
|
@ -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'))
|
||||
|
|
Loading…
Reference in a new issue