Re: [PATCH 4.19 07/38] vsock/virtio: stop workers during the .remove()

2020-10-07 Thread Stefano Garzarella
On Tue, Oct 06, 2020 at 09:34:32PM +0200, Pavel Machek wrote: > Hi! > > > [ Upstream commit 17dd1367389cfe7f150790c83247b68e0c19d106 ] > > > > Before to call vdev->config->reset(vdev) we need to be sure that > > no one is accessing the device, for this reason, we add new variables > > in the stru

Re: [PATCH 4.19 07/38] vsock/virtio: stop workers during the .remove()

2020-10-06 Thread Pavel Machek
Hi! > [ Upstream commit 17dd1367389cfe7f150790c83247b68e0c19d106 ] > > Before to call vdev->config->reset(vdev) we need to be sure that > no one is accessing the device, for this reason, we add new variables > in the struct virtio_vsock to stop the workers during the .remove(). > > This patch al