Re: [Xen-devel] [PATCH v1 09/13] xen/pvcalls: implement recvmsg

2017-07-24 Thread Stefano Stabellini
On Mon, 24 Jul 2017, Juergen Gross wrote: > On 22/07/17 02:11, Stefano Stabellini wrote: > > Implement recvmsg by copying data from the "in" ring. If not enough data > > is available and the recvmsg call is blocking, then wait on the > > inflight_conn_req waitqueue. Take the active socket in_mutex

Re: [Xen-devel] [PATCH v1 09/13] xen/pvcalls: implement recvmsg

2017-07-24 Thread Juergen Gross
On 22/07/17 02:11, Stefano Stabellini wrote: > Implement recvmsg by copying data from the "in" ring. If not enough data > is available and the recvmsg call is blocking, then wait on the > inflight_conn_req waitqueue. Take the active socket in_mutex so that > only one function can access the ring

[Xen-devel] [PATCH v1 09/13] xen/pvcalls: implement recvmsg

2017-07-21 Thread Stefano Stabellini
Implement recvmsg by copying data from the "in" ring. If not enough data is available and the recvmsg call is blocking, then wait on the inflight_conn_req waitqueue. Take the active socket in_mutex so that only one function can access the ring at any given time. If not enough data is available on