Re: [PATCH] vhost: vsock: don't send pkt when vq is not started

2020-05-01 Thread Stefano Garzarella
rtualizat...@lists.linux-foundation.org; > > > > net...@vger.kernel.org; linux-kernel@vger.kernel.org; Kaly Xin > > > > > > > > Subject: Re: [PATCH] vhost: vsock: don't send pkt when vq is not started > > > > > > > > Hi Jia, > > > > thanks

Re: [PATCH] vhost: vsock: don't send pkt when vq is not started

2020-04-30 Thread Michael S. Tsirkin
6 PM > > > To: Justin He > > > Cc: Stefan Hajnoczi ; Michael S. Tsirkin > > > ; Jason Wang ; > > > k...@vger.kernel.org; virtualizat...@lists.linux-foundation.org; > > > net...@vger.kernel.org; linux-kernel@vger.kernel.org; Kaly Xin > > > &

Re: [PATCH] vhost: vsock: don't send pkt when vq is not started

2020-04-30 Thread Stefano Garzarella
t; ; Jason Wang ; > > k...@vger.kernel.org; virtualizat...@lists.linux-foundation.org; > > net...@vger.kernel.org; linux-kernel@vger.kernel.org; Kaly Xin > > > > Subject: Re: [PATCH] vhost: vsock: don't send pkt when vq is not started > > > > Hi Jia, > > thanks

RE: [PATCH] vhost: vsock: don't send pkt when vq is not started

2020-04-30 Thread Justin He
kernel.org; linux-kernel@vger.kernel.org; Kaly Xin > > Subject: Re: [PATCH] vhost: vsock: don't send pkt when vq is not started > > Hi Jia, > thanks for the patch, some comments below: > > On Thu, Apr 30, 2020 at 10:13:14AM +0800, Jia He wrote: > > Ning Bo reported a

Re: [PATCH] vhost: vsock: don't send pkt when vq is not started

2020-04-30 Thread Stefano Garzarella
Hi Jia, thanks for the patch, some comments below: On Thu, Apr 30, 2020 at 10:13:14AM +0800, Jia He wrote: > Ning Bo reported an abnormal 2-second gap when booting Kata container [1]. > The unconditional timeout is caused by VSOCK_DEFAULT_CONNECT_TIMEOUT of > connect at client side. The vhost vsoc

[PATCH] vhost: vsock: don't send pkt when vq is not started

2020-04-29 Thread Jia He
Ning Bo reported an abnormal 2-second gap when booting Kata container [1]. The unconditional timeout is caused by VSOCK_DEFAULT_CONNECT_TIMEOUT of connect at client side. The vhost vsock client tries to connect an initlizing virtio vsock server. The abnormal flow looks like: host-userspace