From: Michael S. Tsirkin Date: Tue, 14 Oct 2014 23:52:32 +0000 (+1030) Subject: virtio_blk: enable VQs early on restore X-Git-Tag: fixes-against-v3.18-rc2~57^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d62c37f1991aafc872f8d8be8ac60e57ede8605;p=pandora-kernel.git virtio_blk: enable VQs early on restore virtio spec requires drivers to set DRIVER_OK before using VQs. This is set automatically after restore returns, virtio block violated this rule on restore by restarting queues, which might in theory cause the VQ to be used directly within restore. To fix, call virtio_device_ready before using starting queues. Signed-off-by: Michael S. Tsirkin Signed-off-by: Rusty Russell --- Reading git-diff-tree failed