acrn-kernel/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
..
Kconfig
Makefile
af_vsock.c vsock: each transport cycles only on its own sockets 2022-03-11 23:14:19 -08:00
af_vsock_tap.c
diag.c
hyperv_transport.c
virtio_transport.c vsock/virtio: enable VQs early on probe 2022-03-24 18:36:36 -07:00
virtio_transport_common.c virtio/vsock: fix the transport to work with VMADDR_CID_ANY 2021-12-08 15:41:50 -05:00
vmci_transport.c vsock: each transport cycles only on its own sockets 2022-03-11 23:14:19 -08:00
vmci_transport.h
vmci_transport_notify.c
vmci_transport_notify.h
vmci_transport_notify_qstate.c
vsock_addr.c
vsock_loopback.c