From: Michael S. Tsirkin Date: Tue, 14 Oct 2014 23:52:31 +0000 (+1030) Subject: 9p/trans_virtio: enable VQs early X-Git-Tag: omap-for-v3.19/prcm-cleanup~54^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64b4cc3911fe8284dfb3cfdb8065c100b818bab8;p=pandora-kernel.git 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 Signed-off-by: Rusty Russell --- Reading git-diff-tree failed