Re: [PATCH v2] vsock/virtio: initialize the_virtio_vsock before using VQs

2023-10-23 Thread Stefano Garzarella
On Mon, Oct 23, 2023 at 06:36:21PM +0300, Alexandru Matei wrote: On 10/23/2023 6:13 PM, Stefano Garzarella wrote: On Mon, Oct 23, 2023 at 05:59:45PM +0300, Alexandru Matei wrote: On 10/23/2023 5:52 PM, Alexandru Matei wrote: On 10/23/2023 5:29 PM, Stefano Garzarella wrote: On Mon, Oct 23, 202

Re: [PATCH v2] vsock/virtio: initialize the_virtio_vsock before using VQs

2023-10-23 Thread Stefano Garzarella
On Mon, Oct 23, 2023 at 05:59:45PM +0300, Alexandru Matei wrote: On 10/23/2023 5:52 PM, Alexandru Matei wrote: On 10/23/2023 5:29 PM, Stefano Garzarella wrote: On Mon, Oct 23, 2023 at 05:08:33PM +0300, Alexandru Matei wrote: Once VQs are filled with empty buffers and we kick the host, it can s

Re: [PATCH v2] vsock/virtio: initialize the_virtio_vsock before using VQs

2023-10-23 Thread Stefano Garzarella
On Mon, Oct 23, 2023 at 05:08:33PM +0300, Alexandru Matei wrote: Once VQs are filled with empty buffers and we kick the host, it can send connection requests. If 'the_virtio_vsock' is not initialized before, replies are silently dropped and do not reach the host. Fixes: 0deab087b16a ("vsock/vir