Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754205AbdCHX6H (ORCPT ); Wed, 8 Mar 2017 18:58:07 -0500 Received: from mail.kernel.org ([198.145.29.136]:55410 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751929AbdCHX6G (ORCPT ); Wed, 8 Mar 2017 18:58:06 -0500 Date: Wed, 8 Mar 2017 15:58:01 -0800 (PST) From: Stefano Stabellini X-X-Sender: sstabellini@sstabellini-ThinkPad-X260 To: xen-devel@lists.xenproject.org cc: linux-kernel@vger.kernel.org, sstabellini@kernel.org, konrad.wilk@oracle.com, boris.ostrovsky@oracle.com, jgross@suse.com, ericvh@gmail.com, rminnich@sandia.gov, lucho@ionkov.net, v9fs-developer@lists.sourceforge.net Subject: [PATCH v2 0/7] Xen transport for 9pfs frontend driver Message-ID: User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1662 Lines: 51 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 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 | 466 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 649 insertions(+) create mode 100644 include/xen/interface/io/9pfs.h create mode 100644 net/9p/trans_xen.c Cheers, Stefano