[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 4/4] meson.build: Turn on virtfs for Windows host
From: |
Bin Meng |
Subject: |
[RFC PATCH 4/4] meson.build: Turn on virtfs for Windows host |
Date: |
Sat, 9 Apr 2022 01:10:13 +0800 |
From: Guohuai Shi <guohuai.shi@windriver.com>
Enable virtfs configuration option for Windows host.
Signed-off-by: Guohuai Shi <guohuai.shi@windriver.com>
Signed-off-by: Bin Meng <bin.meng@windriver.com>
---
meson.build | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/meson.build b/meson.build
index 861de93c4f..a609a9e98f 100644
--- a/meson.build
+++ b/meson.build
@@ -1465,16 +1465,16 @@ dbus_display = get_option('dbus_display') \
.allowed()
have_virtfs = get_option('virtfs') \
- .require(targetos == 'linux' or targetos == 'darwin',
- error_message: 'virtio-9p (virtfs) requires Linux or macOS') \
- .require(targetos == 'linux' or cc.has_function('pthread_fchdir_np'),
+ .require(targetos == 'linux' or targetos == 'darwin' or targetos ==
'windows',
+ error_message: 'virtio-9p (virtfs) requires Linux or macOS or
Windows') \
+ .require(targetos == 'linux' or cc.has_function('pthread_fchdir_np') or
targetos == 'windows',
error_message: 'virtio-9p (virtfs) on macOS requires the presence
of pthread_fchdir_np') \
- .require(targetos == 'darwin' or (libattr.found() and libcap_ng.found()),
+ .require(targetos == 'darwin' or (libattr.found() and libcap_ng.found())
or targetos == 'windows',
error_message: 'virtio-9p (virtfs) on Linux requires
libcap-ng-devel and libattr-devel') \
.disable_auto_if(not have_tools and not have_system) \
.allowed()
-have_virtfs_proxy_helper = targetos != 'darwin' and have_virtfs and have_tools
+have_virtfs_proxy_helper = targetos != 'darwin' and targetos != 'windows' and
have_virtfs and have_tools
foreach k : get_option('trace_backends')
config_host_data.set('CONFIG_TRACE_' + k.to_upper(), true)
--
2.25.1
- [RFC PATCH 0/4] 9pfs: Add 9pfs support for Windows host, Bin Meng, 2022/04/08
- [RFC PATCH 1/4] fsdev: Add missing definitions for Windows in file-op-9p.h, Bin Meng, 2022/04/08
- [RFC PATCH 3/4] fsdev: Enable 'local' file system driver backend for Windows, Bin Meng, 2022/04/08
- [RFC PATCH 2/4] hw/9pfs: Update 'local' file system backend driver to support Windows, Bin Meng, 2022/04/08
- [RFC PATCH 4/4] meson.build: Turn on virtfs for Windows host,
Bin Meng <=
- Re: [RFC PATCH 0/4] 9pfs: Add 9pfs support for Windows host, Christian Schoenebeck, 2022/04/12
- Re: [RFC PATCH 0/4] 9pfs: Add 9pfs support for Windows host, Bin Meng, 2022/04/12
- RE: [RFC PATCH 0/4] 9pfs: Add 9pfs support for Windows host, Shi, Guohuai, 2022/04/13
- Re: [RFC PATCH 0/4] 9pfs: Add 9pfs support for Windows host, Christian Schoenebeck, 2022/04/14
- RE: [RFC PATCH 0/4] 9pfs: Add 9pfs support for Windows host, Shi, Guohuai, 2022/04/14
- Re: [RFC PATCH 0/4] 9pfs: Add 9pfs support for Windows host, Christian Schoenebeck, 2022/04/17
- Re: [RFC PATCH 0/4] 9pfs: Add 9pfs support for Windows host, Mark Cave-Ayland, 2022/04/18
- Re: [RFC PATCH 0/4] 9pfs: Add 9pfs support for Windows host, Christian Schoenebeck, 2022/04/18
- Re: [RFC PATCH 0/4] 9pfs: Add 9pfs support for Windows host, Mark Cave-Ayland, 2022/04/19
- RE: [RFC PATCH 0/4] 9pfs: Add 9pfs support for Windows host, Shi, Guohuai, 2022/04/19