Hi all,
This patch series implements a new transport for 9pfs, aimed at Xen
systems.
The transport is based on a traditional Xen frontend and backend drivers
pair. This patch series implements the backend, which typically runs in
Dom0. I sent another series to implement the frontend in Linux
(http://marc.info/?l=linux-kernel&m=148883047125960&w=2).
The backend complies to the Xen transport for 9pfs specification
version 1, available here:
http://xenbits.xen.org/gitweb/?p=xen.git;a=blob_plain;f=docs/misc/9pfs.markdown;hb=HEAD
Stefano Stabellini (8):
xen: import ring.h from xen
xen: introduce the header file for the Xen 9pfs transport protocol
xen/9pfs: introduce Xen 9pfs backend
xen/9pfs: connect to the frontend
xen/9pfs: receive requests from the frontend
xen/9pfs: implement in/out_iov_from_pdu and vmarshal/vunmarshal
xen/9pfs: send responses back to the frontend
xen/9pfs: build and register Xen 9pfs backend
hw/9pfs/Makefile.objs | 1 +
hw/9pfs/xen-9p-backend.c | 403 ++++++++++++++++++++++++++++++++++++++
hw/9pfs/xen_9pfs.h | 20 ++
hw/block/xen_blkif.h | 2 +-
hw/usb/xen-usb.c | 2 +-
hw/xen/xen_backend.c | 1 +
include/hw/xen/io/ring.h | 455 +++++++++++++++++++++++++++++++++++++++++++
include/hw/xen/xen_backend.h | 1 +
8 files changed, 883 insertions(+), 2 deletions(-)
create mode 100644 hw/9pfs/xen-9p-backend.c
create mode 100644 hw/9pfs/xen_9pfs.h
create mode 100644 include/hw/xen/io/ring.h