summaryrefslogtreecommitdiffstats
path: root/net/9p
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-10-15 10:22:30 +1030
committerRusty Russell <rusty@rustcorp.com.au>2014-10-15 10:25:02 +1030
commit7a11370e5e6c26566904bb7f08281093a3002ff2 (patch)
tree2d63d93824a632ed1ca62f081d85e87a8ef214a4 /net/9p
parent4baf1e33d0842c9673fef4af207d4b74da8d0126 (diff)
downloadlinux-stable-7a11370e5e6c26566904bb7f08281093a3002ff2.tar.gz
linux-stable-7a11370e5e6c26566904bb7f08281093a3002ff2.tar.bz2
linux-stable-7a11370e5e6c26566904bb7f08281093a3002ff2.zip
virtio_blk: enable VQs early
virtio spec requires drivers to set DRIVER_OK before using VQs. This is set automatically after probe returns, virtio block violated this rule by calling add_disk, which causes the VQ to be used directly within probe. To fix, call virtio_device_ready before using VQs. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'net/9p')
0 files changed, 0 insertions, 0 deletions