Home
last modified time | relevance | path

Searched hist:"64 b4cc3911fe8284dfb3cfdb8065c100b818bab8" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/9p/
H A Dtrans_virtio.cdiff 64b4cc3911fe8284dfb3cfdb8065c100b818bab8 Tue Oct 14 18:52:31 CDT 2014 Michael S. Tsirkin <mst@redhat.com> 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>