x86: add support for KVM_CAP_XSAVE2 and AMX state migration
[qemu.git] / tools / meson.build
blob46977af84f4db79368a95cecee5ad14e8159343a
1 have_virtiofsd = get_option('virtiofsd') \
2     .require(targetos == 'linux',
3              error_message: 'virtiofsd requires Linux') \
4     .require(seccomp.found() and libcap_ng.found(),
5              error_message: 'virtiofsd requires libcap-ng-devel and seccomp-devel') \
6     .require('CONFIG_VHOST_USER' in config_host,
7              error_message: 'virtiofsd needs vhost-user-support') \
8     .disable_auto_if(not have_tools and not have_system) \
9     .allowed()
11 if have_virtiofsd
12   subdir('virtiofsd')
13 endif