summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorPaolo Bonzini2022-04-20 17:34:06 +0200
committerPaolo Bonzini2022-05-07 07:46:58 +0200
commit43b6d7ee1fbc5b5fb7c85d8131fdac1863214ad6 (patch)
tree10d919c4e49f279d006691ed7201a8f921082f98 /meson.build
parentmeson: create have_vhost_* variables (diff)
downloadqemu-43b6d7ee1fbc5b5fb7c85d8131fdac1863214ad6.tar.gz
qemu-43b6d7ee1fbc5b5fb7c85d8131fdac1863214ad6.tar.xz
qemu-43b6d7ee1fbc5b5fb7c85d8131fdac1863214ad6.zip
meson: use have_vhost_* variables to pick sources
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 108292e50f..6627bf02ee 100644
--- a/meson.build
+++ b/meson.build
@@ -319,6 +319,7 @@ have_vhost_kernel = 'CONFIG_VHOST_KERNEL' in config_host
have_vhost_net_user = 'CONFIG_VHOST_NET_USER' in config_host
have_vhost_net_vdpa = 'CONFIG_VHOST_NET_VDPA' in config_host
have_vhost_net = 'CONFIG_VHOST_NET' in config_host
+have_vhost = have_vhost_user or have_vhost_vdpa or have_vhost_kernel
have_vhost_user_crypto = 'CONFIG_VHOST_CRYPTO' in config_host
# Target-specific libraries and flags