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: 0ea9e1d3a9e3 ("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
..
2022-03-07 09:48:55 +01:00
2022-03-17 16:34:49 -07:00
2022-01-22 08:33:37 +02:00
2022-03-07 11:40:41 +00:00
2022-02-25 09:36:06 +01:00
2022-03-04 12:02:19 +00:00
2022-03-24 13:13:26 -07:00
2022-01-27 13:53:27 +00:00
2022-02-10 15:29:39 +00:00
2022-03-07 11:40:41 +00:00
2022-03-21 20:47:54 -07:00
2022-03-24 13:13:26 -07:00
2022-03-11 13:00:17 -08:00
2021-06-03 15:13:56 -07:00
2022-03-03 09:55:28 +00:00
2021-07-29 15:06:49 +01:00