* [PATCH v3 0/7] Xen transport for 9pfs frontend driver
@ 2017-03-13 23:50 Stefano Stabellini
0 siblings, 0 replies; 4+ messages in thread
From: Stefano Stabellini @ 2017-03-13 23:50 UTC (permalink / raw)
To: xen-devel
Cc: jgross, lucho, sstabellini, ericvh, linux-kernel, v9fs-developer,
rminnich, boris.ostrovsky
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 frontend, which typically runs in
a regular unprivileged guest.
I also sent a series that implements the backend in userspace in QEMU,
which typically runs in Dom0 (but could also run in a another guest).
The frontend 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
Changes in v3:
- add full copyright header to trans_xen.c
- rename ring->ring to ring->data
- handle gnttab_grant_foreign_access errors
- remove ring->bytes
- wrap long lines
- add reviewed-by
Changes in v2:
- use XEN_PAGE_SHIFT instead of PAGE_SHIFT
- remove unnecessary initializations
- fix error paths
- fix memory allocations for 64K kernels
- simplify p9_xen_create and p9_xen_close
- use virt_XXX barriers
- set status = REQ_STATUS_ERROR inside the p9_xen_response loop
- add in-code comments
Stefano Stabellini (7):
xen: import new ring macros in ring.h
xen: introduce the header file for the Xen 9pfs transport protocol
xen/9pfs: introduce Xen 9pfs transport driver
xen/9pfs: connect to the backend
xen/9pfs: send requests to the backend
xen/9pfs: receive responses
xen/9pfs: build 9pfs Xen transport driver
include/xen/interface/io/9pfs.h | 40 ++++
include/xen/interface/io/ring.h | 131 +++++++++++
net/9p/Kconfig | 8 +
net/9p/Makefile | 4 +
net/9p/trans_xen.c | 497 ++++++++++++++++++++++++++++++++++++++++
5 files changed, 680 insertions(+)
create mode 100644 include/xen/interface/io/9pfs.h
create mode 100644 net/9p/trans_xen.c
Cheers,
Stefano
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v3 0/7] Xen transport for 9pfs frontend driver
2017-03-15 16:30 ` Greg Kurz
@ 2017-03-15 19:12 ` Stefano Stabellini
0 siblings, 0 replies; 4+ messages in thread
From: Stefano Stabellini @ 2017-03-15 19:12 UTC (permalink / raw)
To: Greg Kurz
Cc: Stefano Stabellini, linux-kernel, konrad.wilk, boris.ostrovsky,
jgross, ericvh, rminnich, lucho, v9fs-developer
On Wed, 15 Mar 2017, Greg Kurz wrote:
> On Mon, 13 Mar 2017 16:50:05 -0700 (PDT)
> Stefano Stabellini <sstabellini@kernel.org> wrote:
>
> > Hi all,
> >
> > This patch series implements a new transport for 9pfs, aimed at Xen
> > systems.
> >
>
> Hi Stefano,
>
> For some reason, this series (and previous versions) only partially made it to
> v9fs-developer@lists.sourceforge.net. Please Cc: me if you're to send a v4.
I'll do, sorry about that, I bet it's because I am not subscribed.
However, the series is on the LKML too:
http://marc.info/?l=linux-kernel&m=148944902331334&w=2
Thanks for the reviews!
> --
> Greg
>
> > The transport is based on a traditional Xen frontend and backend drivers
> > pair. This patch series implements the frontend, which typically runs in
> > a regular unprivileged guest.
> >
> > I also sent a series that implements the backend in userspace in QEMU,
> > which typically runs in Dom0 (but could also run in a another guest).
> >
> > The frontend 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
> >
> >
> > Changes in v3:
> > - add full copyright header to trans_xen.c
> > - rename ring->ring to ring->data
> > - handle gnttab_grant_foreign_access errors
> > - remove ring->bytes
> > - wrap long lines
> > - add reviewed-by
> >
> > Changes in v2:
> > - use XEN_PAGE_SHIFT instead of PAGE_SHIFT
> > - remove unnecessary initializations
> > - fix error paths
> > - fix memory allocations for 64K kernels
> > - simplify p9_xen_create and p9_xen_close
> > - use virt_XXX barriers
> > - set status = REQ_STATUS_ERROR inside the p9_xen_response loop
> > - add in-code comments
> >
> >
> > Stefano Stabellini (7):
> > xen: import new ring macros in ring.h
> > xen: introduce the header file for the Xen 9pfs transport protocol
> > xen/9pfs: introduce Xen 9pfs transport driver
> > xen/9pfs: connect to the backend
> > xen/9pfs: send requests to the backend
> > xen/9pfs: receive responses
> > xen/9pfs: build 9pfs Xen transport driver
> >
> > include/xen/interface/io/9pfs.h | 40 ++++
> > include/xen/interface/io/ring.h | 131 +++++++++++
> > net/9p/Kconfig | 8 +
> > net/9p/Makefile | 4 +
> > net/9p/trans_xen.c | 497 ++++++++++++++++++++++++++++++++++++++++
> > 5 files changed, 680 insertions(+)
> > create mode 100644 include/xen/interface/io/9pfs.h
> > create mode 100644 net/9p/trans_xen.c
> >
> >
> > Cheers,
> >
> > Stefano
> >
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v3 0/7] Xen transport for 9pfs frontend driver
2017-03-13 23:50 Stefano Stabellini
@ 2017-03-15 16:30 ` Greg Kurz
2017-03-15 19:12 ` Stefano Stabellini
0 siblings, 1 reply; 4+ messages in thread
From: Greg Kurz @ 2017-03-15 16:30 UTC (permalink / raw)
To: Stefano Stabellini
Cc: linux-kernel, konrad.wilk, boris.ostrovsky, jgross, ericvh,
rminnich, lucho, v9fs-developer
[-- Attachment #1: Type: text/plain, Size: 2336 bytes --]
On Mon, 13 Mar 2017 16:50:05 -0700 (PDT)
Stefano Stabellini <sstabellini@kernel.org> wrote:
> Hi all,
>
> This patch series implements a new transport for 9pfs, aimed at Xen
> systems.
>
Hi Stefano,
For some reason, this series (and previous versions) only partially made it to
v9fs-developer@lists.sourceforge.net. Please Cc: me if you're to send a v4.
Cheers.
--
Greg
> The transport is based on a traditional Xen frontend and backend drivers
> pair. This patch series implements the frontend, which typically runs in
> a regular unprivileged guest.
>
> I also sent a series that implements the backend in userspace in QEMU,
> which typically runs in Dom0 (but could also run in a another guest).
>
> The frontend 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
>
>
> Changes in v3:
> - add full copyright header to trans_xen.c
> - rename ring->ring to ring->data
> - handle gnttab_grant_foreign_access errors
> - remove ring->bytes
> - wrap long lines
> - add reviewed-by
>
> Changes in v2:
> - use XEN_PAGE_SHIFT instead of PAGE_SHIFT
> - remove unnecessary initializations
> - fix error paths
> - fix memory allocations for 64K kernels
> - simplify p9_xen_create and p9_xen_close
> - use virt_XXX barriers
> - set status = REQ_STATUS_ERROR inside the p9_xen_response loop
> - add in-code comments
>
>
> Stefano Stabellini (7):
> xen: import new ring macros in ring.h
> xen: introduce the header file for the Xen 9pfs transport protocol
> xen/9pfs: introduce Xen 9pfs transport driver
> xen/9pfs: connect to the backend
> xen/9pfs: send requests to the backend
> xen/9pfs: receive responses
> xen/9pfs: build 9pfs Xen transport driver
>
> include/xen/interface/io/9pfs.h | 40 ++++
> include/xen/interface/io/ring.h | 131 +++++++++++
> net/9p/Kconfig | 8 +
> net/9p/Makefile | 4 +
> net/9p/trans_xen.c | 497 ++++++++++++++++++++++++++++++++++++++++
> 5 files changed, 680 insertions(+)
> create mode 100644 include/xen/interface/io/9pfs.h
> create mode 100644 net/9p/trans_xen.c
>
>
> Cheers,
>
> Stefano
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v3 0/7] Xen transport for 9pfs frontend driver
@ 2017-03-13 23:50 Stefano Stabellini
2017-03-15 16:30 ` Greg Kurz
0 siblings, 1 reply; 4+ messages in thread
From: Stefano Stabellini @ 2017-03-13 23:50 UTC (permalink / raw)
To: xen-devel
Cc: linux-kernel, sstabellini, konrad.wilk, boris.ostrovsky, jgross,
ericvh, rminnich, lucho, v9fs-developer
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 frontend, which typically runs in
a regular unprivileged guest.
I also sent a series that implements the backend in userspace in QEMU,
which typically runs in Dom0 (but could also run in a another guest).
The frontend 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
Changes in v3:
- add full copyright header to trans_xen.c
- rename ring->ring to ring->data
- handle gnttab_grant_foreign_access errors
- remove ring->bytes
- wrap long lines
- add reviewed-by
Changes in v2:
- use XEN_PAGE_SHIFT instead of PAGE_SHIFT
- remove unnecessary initializations
- fix error paths
- fix memory allocations for 64K kernels
- simplify p9_xen_create and p9_xen_close
- use virt_XXX barriers
- set status = REQ_STATUS_ERROR inside the p9_xen_response loop
- add in-code comments
Stefano Stabellini (7):
xen: import new ring macros in ring.h
xen: introduce the header file for the Xen 9pfs transport protocol
xen/9pfs: introduce Xen 9pfs transport driver
xen/9pfs: connect to the backend
xen/9pfs: send requests to the backend
xen/9pfs: receive responses
xen/9pfs: build 9pfs Xen transport driver
include/xen/interface/io/9pfs.h | 40 ++++
include/xen/interface/io/ring.h | 131 +++++++++++
net/9p/Kconfig | 8 +
net/9p/Makefile | 4 +
net/9p/trans_xen.c | 497 ++++++++++++++++++++++++++++++++++++++++
5 files changed, 680 insertions(+)
create mode 100644 include/xen/interface/io/9pfs.h
create mode 100644 net/9p/trans_xen.c
Cheers,
Stefano
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-03-15 19:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-13 23:50 [PATCH v3 0/7] Xen transport for 9pfs frontend driver Stefano Stabellini
2017-03-13 23:50 Stefano Stabellini
2017-03-15 16:30 ` Greg Kurz
2017-03-15 19:12 ` Stefano Stabellini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.