Re: [Xen-devel] [PATCH v3 02/13] xen/pvcalls: implement frontend disconnect

2017-09-08 Thread Stefano Stabellini
On Fri, 11 Aug 2017, Boris Ostrovsky wrote: > On 07/31/2017 06:57 PM, Stefano Stabellini wrote: > > Introduce a data structure named pvcalls_bedata. It contains pointers to > > the command ring, the event channel, a list of active sockets and a list > > of passive sockets. Lists accesses are protec

Re: [Xen-devel] [PATCH v3 02/13] xen/pvcalls: implement frontend disconnect

2017-08-11 Thread Boris Ostrovsky
On 07/31/2017 06:57 PM, Stefano Stabellini wrote: > Introduce a data structure named pvcalls_bedata. It contains pointers to > the command ring, the event channel, a list of active sockets and a list > of passive sockets. Lists accesses are protected by a spin_lock. > > Introduce a waitqueue to all

[Xen-devel] [PATCH v3 02/13] xen/pvcalls: implement frontend disconnect

2017-07-31 Thread Stefano Stabellini
Introduce a data structure named pvcalls_bedata. It contains pointers to the command ring, the event channel, a list of active sockets and a list of passive sockets. Lists accesses are protected by a spin_lock. Introduce a waitqueue to allow waiting for a response on commands sent to the backend.