]> Git Repo - qemu.git/blame - tools/meson.build
make ram_size local to vl.c
[qemu.git] / tools / meson.build
CommitLineData
cece116c 1have_virtiofsd = (targetos == 'linux' and
3f99cf57 2 have_tools and
3f99cf57
PB
3 'CONFIG_SECCOMP' in config_host and
4 'CONFIG_LIBCAP_NG' in config_host and
5 'CONFIG_VHOST_USER' in config_host)
6
cece116c
MT
7if get_option('virtiofsd').enabled()
8 if not have_virtiofsd
9 if targetos != 'linux'
10 error('virtiofsd requires Linux')
11 elif 'CONFIG_SECCOMP' not in config_host or 'CONFIG_LIBCAP_NG' not in config_host
12 error('virtiofsd requires libcap-ng-devel and seccomp-devel')
13 elif not have_tools or 'CONFIG_VHOST_USER' not in config_host
14 error('virtiofsd needs tools and vhost-user support')
15 endif
16 endif
17elif get_option('virtiofsd').disabled() or not have_system
18 have_virtiofsd = false
19endif
20
3f99cf57
PB
21if have_virtiofsd
22 subdir('virtiofsd')
23endif
This page took 0.065063 seconds and 4 git commands to generate.