mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:17 +00:00
net: use stub_ss for vhost-user-stub.c and vhost-vdpa-stub.c
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Message-ID: <20260528051642.115721-9-pierrick.bouvier@oss.qualcomm.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
committed by
Philippe Mathieu-Daudé
parent
de34c1074e
commit
0ab9c83d4f
@@ -46,8 +46,9 @@ endif
|
||||
system_ss.add(when: [libxdp, libbpf], if_true: files('af-xdp.c'))
|
||||
|
||||
if have_vhost_net_user
|
||||
system_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('vhost-user.c'), if_false: files('vhost-user-stub.c'))
|
||||
system_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('vhost-user.c'))
|
||||
endif
|
||||
stub_ss.add(files('vhost-user-stub.c'))
|
||||
|
||||
if host_os == 'windows'
|
||||
system_ss.add(files('tap-win32.c'))
|
||||
@@ -61,8 +62,9 @@ else
|
||||
system_ss.add(files('tap.c', 'tap-stub.c'))
|
||||
endif
|
||||
if have_vhost_net_vdpa
|
||||
system_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('vhost-vdpa.c'), if_false: files('vhost-vdpa-stub.c'))
|
||||
system_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('vhost-vdpa.c'))
|
||||
endif
|
||||
stub_ss.add(files('vhost-vdpa-stub.c'))
|
||||
|
||||
vmnet_files = files(
|
||||
'vmnet-common.m',
|
||||
|
||||
Reference in New Issue
Block a user