Re: [Qemu-devel] [PATCH v2] vhost-vsock: report QMP event when set running

2019-08-09 Thread Stefan Hajnoczi
On Mon, Aug 05, 2019 at 11:32:31AM +0800, Ning Bo wrote: > If a program in host communicates with a vsock device in guest via > 'vsock://', but the device is not ready, the 'connect' syscall will > block and then timeout after 2 second default.(the timeout is defined > in kernel: #define VSOCK_DEFA

[Qemu-devel] [PATCH v2] vhost-vsock: report QMP event when set running

2019-08-04 Thread Ning Bo
If a program in host communicates with a vsock device in guest via 'vsock://', but the device is not ready, the 'connect' syscall will block and then timeout after 2 second default.(the timeout is defined in kernel: #define VSOCK_DEFAULT_CONNECT_TIMEOUT (2 * HZ)). We can avoid this case if qemu rep