Re: Question about IRQs during the .remove() of virtio-vsock driver

2019-05-23 Thread Stefano Garzarella
On Wed, May 22, 2019 at 11:44:26AM +0800, Jason Wang wrote: > > On 2019/5/21 下午9:56, Michael S. Tsirkin wrote: > > On Tue, May 21, 2019 at 03:49:20PM +0200, Stefano Garzarella wrote: > > > On Tue, May 21, 2019 at 06:05:31AM -0400, Michael S. Tsirkin wrote: > > > > On Tue, May 21, 2019 at 11:44:07A

Re: Question about IRQs during the .remove() of virtio-vsock driver

2019-05-21 Thread Jason Wang
On 2019/5/21 下午9:56, Michael S. Tsirkin wrote: On Tue, May 21, 2019 at 03:49:20PM +0200, Stefano Garzarella wrote: On Tue, May 21, 2019 at 06:05:31AM -0400, Michael S. Tsirkin wrote: On Tue, May 21, 2019 at 11:44:07AM +0200, Stefano Garzarella wrote: Hi Micheal, Jason, as suggested by Stefan

Re: Question about IRQs during the .remove() of virtio-vsock driver

2019-05-21 Thread Stefano Garzarella
On Tue, May 21, 2019 at 09:56:42AM -0400, Michael S. Tsirkin wrote: > On Tue, May 21, 2019 at 03:49:20PM +0200, Stefano Garzarella wrote: > > On Tue, May 21, 2019 at 06:05:31AM -0400, Michael S. Tsirkin wrote: > > > On Tue, May 21, 2019 at 11:44:07AM +0200, Stefano Garzarella wrote: > > > > Hi Mich

Re: Question about IRQs during the .remove() of virtio-vsock driver

2019-05-21 Thread Michael S. Tsirkin
On Tue, May 21, 2019 at 03:49:20PM +0200, Stefano Garzarella wrote: > On Tue, May 21, 2019 at 06:05:31AM -0400, Michael S. Tsirkin wrote: > > On Tue, May 21, 2019 at 11:44:07AM +0200, Stefano Garzarella wrote: > > > Hi Micheal, Jason, > > > as suggested by Stefan, I'm checking if we have some races

Re: Question about IRQs during the .remove() of virtio-vsock driver

2019-05-21 Thread Stefano Garzarella
On Tue, May 21, 2019 at 06:05:31AM -0400, Michael S. Tsirkin wrote: > On Tue, May 21, 2019 at 11:44:07AM +0200, Stefano Garzarella wrote: > > Hi Micheal, Jason, > > as suggested by Stefan, I'm checking if we have some races in the > > virtio-vsock driver. We found some races in the .probe() and .re

Re: Question about IRQs during the .remove() of virtio-vsock driver

2019-05-21 Thread Michael S. Tsirkin
On Tue, May 21, 2019 at 11:44:07AM +0200, Stefano Garzarella wrote: > Hi Micheal, Jason, > as suggested by Stefan, I'm checking if we have some races in the > virtio-vsock driver. We found some races in the .probe() and .remove() > with the upper layer (socket) and I'll fix it. > > Now my attentio