aboutsummaryrefslogtreecommitdiff
path: root/net/meson.build
diff options
context:
space:
mode:
authorVladislav Yaroshchuk <vladislav.yaroshchuk@jetbrains.com>2022-03-17 20:28:34 +0300
committerJason Wang <jasowang@redhat.com>2022-05-17 16:48:23 +0800
commit81ad2964e93848fc0998145043c395dea67f00da (patch)
treeae0e9e4700702879e949b385fb040451aff43f0d /net/meson.build
parente2c1d78da3223e8b39c14cce3da9e62655c1ddbb (diff)
downloadqemu-81ad2964e93848fc0998145043c395dea67f00da.zip
qemu-81ad2964e93848fc0998145043c395dea67f00da.tar.gz
qemu-81ad2964e93848fc0998145043c395dea67f00da.tar.bz2
net/vmnet: add vmnet backends to qapi/net
Create separate netdevs for each vmnet operating mode: - vmnet-host - vmnet-shared - vmnet-bridged Reviewed-by: Akihiko Odaki <akihiko.odaki@gmail.com> Tested-by: Akihiko Odaki <akihiko.odaki@gmail.com> Acked-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Vladislav Yaroshchuk <Vladislav.Yaroshchuk@jetbrains.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net/meson.build')
-rw-r--r--net/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/meson.build b/net/meson.build
index c965e83..754e2d1 100644
--- a/net/meson.build
+++ b/net/meson.build
@@ -44,4 +44,11 @@ if have_vhost_net_vdpa
softmmu_ss.add(files('vhost-vdpa.c'))
endif
+vmnet_files = files(
+ 'vmnet-common.m',
+ 'vmnet-bridged.m',
+ 'vmnet-host.c',
+ 'vmnet-shared.c'
+)
+softmmu_ss.add(when: vmnet, if_true: vmnet_files)
subdir('can')