Mini-OS: add minimal 9pfs support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest7 patches 3 repliesIn review
- v27 patches 12 repliesSuperseded
- v17 patches 20 repliesSuperseded
Changes in v3 from the cover letter
- addressed comments by Samuel Thibault and Andrew Cooper
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | Mini-OS: xenbus: add support for reading node from directoryinclude/ xenbus.c | +43 | 0 replies | |
| 2/7 | Mini-OS: add concept of mount pointsinclude/ lib/ | +70 | 0 replies | |
| 3/7 | Mini-OS: add support for runtime mountsinclude/ lib/ | +49 | 0 replies | |
| 4/7 | Mini-OS: add 9pfs frontend9pfront.c Config.mk Makefile +4 more | +298 | 0 replies | |
| 5/7 | Mini-OS: add 9pfs transport layer9pfront.c | +478 | 0 replies | |
| 6/7 | Mini-OS: add open and close handling to the 9pfs frontend9pfront.c | +322 | 1 reply | |
| 7/7 | Mini-OS: add read and write support to 9pfsfront9pfront.c | +216 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Samuel Thibault |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/7] Mini-OS: add minimal 9pfs support
This series is adding minimal support to use 9pfs in Mini-OS. It is adding a PV 9pfs frontend and the ability to open, close, read and write files.
The series has been tested with qemu as 9pfs backend in a PVH Mini-OS guest (I've used a slightly modified Xenstore-stubdom for that purpose in order to reuse the build runes).
This series is meant to setup the stage for adding file based logging support to Xenstore-stubdom and later to add live update support (being able to save the LU data stream in a dom0 file makes this a _lot_ easier).
In order to keep Mini-OS's license I have only used the protocol docs available on the internet [1] and then verified those with the qemu 9pfs backend implementation (especially for supporting the 9P2000.u variant, as qemu doesn't support the basic 9P2000 protocol).
The needed fixed values of the protocol have been taken from [2].
[1]: http://ericvh.github.io/9p-rfc/rfc9p2000.html
[2]: https://github.com/0intro/libixp
Changes in V2:
- addressed comments by Samuel Thibault
Changes in V3:
- addressed comments by Samuel Thibault and Andrew Cooper
Juergen Gross (7):
Mini-OS: xenbus: add support for reading node from directory
Mini-OS: add concept of mount points
Mini-OS: add support for runtime mounts
Mini-OS: add 9pfs frontend
Mini-OS: add 9pfs transport layer
Mini-OS: add open and close handling to the 9pfs frontend
Mini-OS: add read and write support to 9pfsfront
9pfront.c | 1300 +++++++++++++++++++++++++++++++++ Config.mk | 1 + Makefile | 1 + arch/x86/testbuild/all-no | 1 + arch/x86/testbuild/all-yes | 1 + arch/x86/testbuild/newxen-yes | 1 + include/9pfront.h | 7 + include/lib.h | 14 + include/xenbus.h | 6 + lib/sys.c | 123 +++- xenbus.c | 40 +- 11 files changed, 1473 insertions(+), 22 deletions(-) create mode 100644 9pfront.c create mode 100644 include/9pfront.h
Signature · 1 line
2.35.3