Re: [Xen-devel] [PATCH v4 05/13] xen/pvcalls: implement connect command

2017-10-06 Thread Stefano Stabellini
On Fri, 6 Oct 2017, Stefano Stabellini wrote: > On Thu, 21 Sep 2017, Boris Ostrovsky wrote: > > On 09/15/2017 07:00 PM, Stefano Stabellini wrote: > > > Send PVCALLS_CONNECT to the backend. Allocate a new ring and evtchn for > > > the active socket. > > > > > > Introduce fields in struct sock_mappi

Re: [Xen-devel] [PATCH v4 05/13] xen/pvcalls: implement connect command

2017-10-06 Thread Stefano Stabellini
On Thu, 21 Sep 2017, Boris Ostrovsky wrote: > On 09/15/2017 07:00 PM, Stefano Stabellini wrote: > > Send PVCALLS_CONNECT to the backend. Allocate a new ring and evtchn for > > the active socket. > > > > Introduce fields in struct sock_mapping to keep track of active sockets. > > Introduce a waitqu

Re: [Xen-devel] [PATCH v4 05/13] xen/pvcalls: implement connect command

2017-09-21 Thread Boris Ostrovsky
On 09/15/2017 07:00 PM, Stefano Stabellini wrote: Send PVCALLS_CONNECT to the backend. Allocate a new ring and evtchn for the active socket. Introduce fields in struct sock_mapping to keep track of active sockets. Introduce a waitqueue to allow the frontend to wait on data coming from the back

[Xen-devel] [PATCH v4 05/13] xen/pvcalls: implement connect command

2017-09-15 Thread Stefano Stabellini
Send PVCALLS_CONNECT to the backend. Allocate a new ring and evtchn for the active socket. Introduce fields in struct sock_mapping to keep track of active sockets. Introduce a waitqueue to allow the frontend to wait on data coming from the backend on the active socket (recvmsg command). Two mutex