Skip to content

RFC 9pfs: Add 9pfs support for Windows host

Bin Meng qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4fsdev: Add missing definitions for Windows in file-op-9p.hfsdev/file-op-9p.h+33 -00 replies
2/4hw/9pfs: Update 'local' file system backend driver to support Windowshw/9pfs/9p-local.c hw/9pfs/9p-util.h hw/9pfs/9p.c +3 more+408 -30 replies
3/4fsdev: Enable 'local' file system driver backend for Windowsfsdev/meson.build fsdev/qemu-fsdev.c+3 -00 replies
4/4meson.build: Turn on virtfs for Windows hostmeson.build+5 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/4] 9pfs: Add 9pfs support for Windows host

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(-)
Signature · 1 line
2.25.1