xen/9pfs: connect to the backend
authorStefano Stabellini <[email protected]>
Wed, 5 Apr 2017 19:03:58 +0000 (12:03 -0700)
committerJuergen Gross <[email protected]>
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: [email protected]
CC: [email protected]
CC: [email protected]
CC: Eric Van Hensbergen <[email protected]>
CC: Ron Minnich <[email protected]>
CC: Latchesar Ionkov <[email protected]>
CC: [email protected]
Signed-off-by: Stefano Stabellini <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
net/9p/trans_xen.c