[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 7/9] fsdev: Enable 'local' file system driver backend for Windows
From: |
Bin Meng |
Subject: |
[PATCH 7/9] fsdev: Enable 'local' file system driver backend for Windows |
Date: |
Mon, 25 Apr 2022 22:27:03 +0800 |
From: Guohuai Shi <guohuai.shi@windriver.com>
Only 'local' file system driver will be supported for Windows host.
'proxy' or 'synth' are not supported.
Signed-off-by: Guohuai Shi <guohuai.shi@windriver.com>
Signed-off-by: Bin Meng <bin.meng@windriver.com>
---
fsdev/qemu-fsdev.c | 2 ++
fsdev/meson.build | 1 +
2 files changed, 3 insertions(+)
diff --git a/fsdev/qemu-fsdev.c b/fsdev/qemu-fsdev.c
index 3da64e9f72..e1cc677ad8 100644
--- a/fsdev/qemu-fsdev.c
+++ b/fsdev/qemu-fsdev.c
@@ -81,6 +81,7 @@ static FsDriverTable FsDrivers[] = {
NULL
},
},
+#ifndef CONFIG_WIN32
{
.name = "synth",
.ops = &synth_ops,
@@ -100,6 +101,7 @@ static FsDriverTable FsDrivers[] = {
NULL
},
},
+#endif
};
static int validate_opt(void *opaque, const char *name, const char *value,
diff --git a/fsdev/meson.build b/fsdev/meson.build
index b632b66348..2aad081aef 100644
--- a/fsdev/meson.build
+++ b/fsdev/meson.build
@@ -8,6 +8,7 @@ fsdev_ss.add(when: ['CONFIG_FSDEV_9P'], if_true: files(
), if_false: files('qemu-fsdev-dummy.c'))
softmmu_ss.add_all(when: 'CONFIG_LINUX', if_true: fsdev_ss)
softmmu_ss.add_all(when: 'CONFIG_DARWIN', if_true: fsdev_ss)
+softmmu_ss.add_all(when: 'CONFIG_WIN32', if_true: fsdev_ss)
if have_virtfs_proxy_helper
executable('virtfs-proxy-helper',
--
2.25.1
- [PATCH 0/9] 9pfs: Add 9pfs support for Windows host, Bin Meng, 2022/04/25
- [PATCH 1/9] hw/9pfs: Compile 9p-local.c and 9p-proxy.c for Linux and macOS, Bin Meng, 2022/04/25
- [PATCH 6/9] hw/9pfs: Update 9p-synth.c for Windows build, Bin Meng, 2022/04/25
- [PATCH 2/9] qemu/xatth.h: Update for Windows build, Bin Meng, 2022/04/25
- [PATCH 4/9] fsdev: Add missing definitions for Windows in file-op-9p.h, Bin Meng, 2022/04/25
- [PATCH 7/9] fsdev: Enable 'local' file system driver backend for Windows,
Bin Meng <=
- [PATCH 3/9] hw/9pfs: Extract common stuff to 9p-local.h, Bin Meng, 2022/04/25
- [PATCH 5/9] hw/9pfs: Add a 'local' file system backend driver for Windows, Bin Meng, 2022/04/25
- [PATCH 8/9] meson.build: Turn on virtfs for Windows host, Bin Meng, 2022/04/25
- [PATCH 9/9] hw/9p: win32: Translate Windows error number to Linux value, Bin Meng, 2022/04/25
- Re: [PATCH 0/9] 9pfs: Add 9pfs support for Windows host, Bin Meng, 2022/04/25