At present there is no Windows support for 9p file system. This series adds initial Windows support for 9p file system.
Only 'local' file system driver backend is supported. security_model should be 'none' due to limitations on Windows host. Example command line to test: "-fsdev local,path=c:\msys64,security_model=none,id=p9 -device virtio-9p-pci,fsdev=p9,mount_tag=p9fs" Guohuai Shi (4): fsdev: Add missing definitions for Windows in file-op-9p.h hw/9pfs: Update 'local' file system backend driver to support Windows fsdev: Enable 'local' file system driver backend for Windows meson.build: Turn on virtfs for Windows host meson.build | 10 +- fsdev/file-op-9p.h | 33 ++++++ hw/9pfs/9p-util.h | 4 + hw/9pfs/9p.h | 22 ++++ fsdev/qemu-fsdev.c | 2 + hw/9pfs/9p-local.c | 273 +++++++++++++++++++++++++++++++++++++++++++- hw/9pfs/9p.c | 85 +++++++++++++- hw/9pfs/codir.c | 17 +++ fsdev/meson.build | 1 + hw/9pfs/meson.build | 10 +- 10 files changed, 449 insertions(+), 8 deletions(-) -- 2.25.1