linux/net/vmw_vsock
Stefano Garzarella 88704454ef vsock/virtio: enable VQs early on probe
virtio spec requires drivers to set DRIVER_OK before using VQs.
This is set automatically after probe returns, but virtio-vsock
driver uses VQs in the probe function to fill rx and event VQs
with new buffers.

Let's fix this, calling virtio_device_ready() before using VQs
in the probe function.

Fixes: 0ea9e1d3a9 ("VSOCK: Introduce virtio_transport.ko")
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-03-24 18:36:36 -07:00
..
af_vsock_tap.c
af_vsock.c vsock: each transport cycles only on its own sockets 2022-03-11 23:14:19 -08:00
diag.c
hyperv_transport.c hv_sock: Extract hvs_send_data() helper that takes only header 2021-12-07 21:49:19 -08:00
Kconfig
Makefile
virtio_transport_common.c virtio/vsock: fix the transport to work with VMADDR_CID_ANY 2021-12-08 15:41:50 -05:00
virtio_transport.c vsock/virtio: enable VQs early on probe 2022-03-24 18:36:36 -07:00
vmci_transport_notify_qstate.c
vmci_transport_notify.c
vmci_transport_notify.h
vmci_transport.c vsock: each transport cycles only on its own sockets 2022-03-11 23:14:19 -08:00
vmci_transport.h
vsock_addr.c
vsock_loopback.c vsock/loopback: enable SEQPACKET for transport 2021-06-11 13:32:47 -07:00