Re: [Xen-devel] [PATCH v3 14/18] xen/pvcalls: disconnect and module_exit

2017-06-14 Thread Stefano Stabellini
On Wed, 14 Jun 2017, Boris Ostrovsky wrote: > >>> static int backend_disconnect(struct xenbus_device *dev) > >>> { > >>> + struct pvcalls_fedata *priv; > >>> + struct sock_mapping *map, *n; > >>> + struct sockpass_mapping *mappass; > >>> + struct radix_tree_iter iter; > >>> + void **slot; > >>>

Re: [Xen-devel] [PATCH v3 14/18] xen/pvcalls: disconnect and module_exit

2017-06-14 Thread Boris Ostrovsky
>>> static int backend_disconnect(struct xenbus_device *dev) >>> { >>> + struct pvcalls_fedata *priv; >>> + struct sock_mapping *map, *n; >>> + struct sockpass_mapping *mappass; >>> + struct radix_tree_iter iter; >>> + void **slot; >>> + >>> + >>> + priv = dev_get_drvdata(>dev);

Re: [Xen-devel] [PATCH v3 14/18] xen/pvcalls: disconnect and module_exit

2017-06-13 Thread Stefano Stabellini
On Tue, 13 Jun 2017, Juergen Gross wrote: > On 02/06/17 21:31, Stefano Stabellini wrote: > > Implement backend_disconnect. Call pvcalls_back_release_active on active > > sockets and pvcalls_back_release_passive on passive sockets. > > > > Implement module_exit by calling backend_disconnect on

Re: [Xen-devel] [PATCH v3 14/18] xen/pvcalls: disconnect and module_exit

2017-06-13 Thread Juergen Gross
On 02/06/17 21:31, Stefano Stabellini wrote: > Implement backend_disconnect. Call pvcalls_back_release_active on active > sockets and pvcalls_back_release_passive on passive sockets. > > Implement module_exit by calling backend_disconnect on frontend > connections. > > Signed-off-by: Stefano

[Xen-devel] [PATCH v3 14/18] xen/pvcalls: disconnect and module_exit

2017-06-02 Thread Stefano Stabellini
Implement backend_disconnect. Call pvcalls_back_release_active on active sockets and pvcalls_back_release_passive on passive sockets. Implement module_exit by calling backend_disconnect on frontend connections. Signed-off-by: Stefano Stabellini CC: