]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xen/9pfs: connect to the backend
authorStefano Stabellini <sstabellini@kernel.org>
Wed, 5 Apr 2017 19:03:58 +0000 (12:03 -0700)
committerJuergen Gross <jgross@suse.com>
Tue, 2 May 2017 09:11:28 +0000 (11:11 +0200)
commit71ebd71921e451f0f942ddfe85d01e31ddc6eb88
tree9c7b2a5478a5d3406bf917591c7c7cd8198aedde
parent868eb122739a588f2cd873308b9ff1f00849b8fd
xen/9pfs: connect to the backend

Implement functions to handle the xenbus handshake. Upon connection,
allocate the rings according to the protocol specification.

Initialize a work_struct and a wait_queue. The work_struct will be used
to schedule work upon receiving an event channel notification from the
backend. The wait_queue will be used to wait when the ring is full and
we need to send a new request.

CC: groug@kaod.org
CC: boris.ostrovsky@oracle.com
CC: jgross@suse.com
CC: Eric Van Hensbergen <ericvh@gmail.com>
CC: Ron Minnich <rminnich@sandia.gov>
CC: Latchesar Ionkov <lucho@ionkov.net>
CC: v9fs-developer@lists.sourceforge.net
Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
net/9p/trans_xen.c