WSL2-Linux-Kernel/net/9p
Michael S. Tsirkin 64b4cc3911 9p/trans_virtio: enable VQs early
virtio spec requires drivers to set DRIVER_OK before using VQs.
This is set automatically after probe returns, but virtio 9p device
adds self to channel list within probe, at which point VQ can be
used in violation of the spec.

To fix, call virtio_device_ready before using VQs.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2014-10-15 10:25:04 +10:30
..
Kconfig
Makefile
client.c 9P: remove unnecessary break after return 2014-07-15 16:27:00 -07:00
error.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
mod.c
protocol.c
protocol.h
trans_common.c 9p: fix off by one causing access violations and memory corruption 2013-07-11 11:36:02 -07:00
trans_common.h
trans_fd.c 9pnet: trans_fd : allocate struct p9_trans_fd and struct p9_conn together. 2014-03-25 16:38:17 -05:00
trans_rdma.c 9pnet_rdma: check token type before int conversion 2014-03-25 16:38:19 -05:00
trans_virtio.c 9p/trans_virtio: enable VQs early 2014-10-15 10:25:04 +10:30
util.c