Re: [RFC v5 0/5] Add virtio transport for AF_VSOCK

2016-04-13 Thread Stefan Hajnoczi
On Tue, Apr 12, 2016 at 05:37:54PM +0100, Ian Campbell wrote: > Perhaps the guest end is turning shutdown(foo) directly into a vsock > message without or-ing in the current state? Yes, you are right: lock_sock(sk); sk->sk_shutdown |= mode; sk->sk_state_change(sk); release_sock(sk); if

Re: [RFC v5 0/5] Add virtio transport for AF_VSOCK

2016-04-12 Thread Ian Campbell
Some how Stefan's reply disapeared from my INBOX (although I did see it) so replying here. On Mon, 2016-04-11 at 15:54 +0300, Michael S. Tsirkin wrote: > On Mon, Apr 11, 2016 at 11:45:48AM +0100, Stefan Hajnoczi wrote: > > > > On Fri, Apr 08, 2016 at 04:35:05PM +0100, Ian Campbell wrote: > > > >

Re: [RFC v5 0/5] Add virtio transport for AF_VSOCK

2016-04-12 Thread Stefan Hajnoczi
On Mon, Apr 11, 2016 at 03:54:08PM +0300, Michael S. Tsirkin wrote: > On Mon, Apr 11, 2016 at 11:45:48AM +0100, Stefan Hajnoczi wrote: > > On Fri, Apr 08, 2016 at 04:35:05PM +0100, Ian Campbell wrote: > > > On Fri, 2016-04-01 at 15:23 +0100, Stefan Hajnoczi wrote: > > > > This series is based on Mi

Re: [RFC v5 0/5] Add virtio transport for AF_VSOCK

2016-04-11 Thread Michael S. Tsirkin
On Mon, Apr 11, 2016 at 11:45:48AM +0100, Stefan Hajnoczi wrote: > On Fri, Apr 08, 2016 at 04:35:05PM +0100, Ian Campbell wrote: > > On Fri, 2016-04-01 at 15:23 +0100, Stefan Hajnoczi wrote: > > > This series is based on Michael Tsirkin's vhost branch (v4.5-rc6). > > > > > > I'm about to process C

Re: [RFC v5 0/5] Add virtio transport for AF_VSOCK

2016-04-11 Thread Stefan Hajnoczi
On Fri, Apr 08, 2016 at 04:35:05PM +0100, Ian Campbell wrote: > On Fri, 2016-04-01 at 15:23 +0100, Stefan Hajnoczi wrote: > > This series is based on Michael Tsirkin's vhost branch (v4.5-rc6). > > > > I'm about to process Claudio Imbrenda's locking fixes for virtio-vsock but > > first I want to sh

Re: [RFC v5 0/5] Add virtio transport for AF_VSOCK

2016-04-08 Thread Ian Campbell
On Fri, 2016-04-01 at 15:23 +0100, Stefan Hajnoczi wrote: > This series is based on Michael Tsirkin's vhost branch (v4.5-rc6). > > I'm about to process Claudio Imbrenda's locking fixes for virtio-vsock but > first I want to share the latest version of the code.  Several people are > playing with v

[RFC v5 0/5] Add virtio transport for AF_VSOCK

2016-04-01 Thread Stefan Hajnoczi
This series is based on Michael Tsirkin's vhost branch (v4.5-rc6). I'm about to process Claudio Imbrenda's locking fixes for virtio-vsock but first I want to share the latest version of the code. Several people are playing with vsock now so sharing the latest code should avoid duplicate work. v5