Michael S. Tsirkin
7a11370e5e
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 >
2014-10-15 10:25:02 +10:30
..
2014-03-04 07:55:47 -08:00
2014-08-14 09:10:21 -06:00
2014-08-12 12:15:14 -06:00
2014-04-15 14:03:02 -06:00
2014-08-12 12:15:14 -06:00
2014-05-28 14:17:32 -04:00
2014-08-29 16:28:16 -07:00
2014-04-15 14:03:02 -06:00
2014-06-02 09:29:34 -07:00
2014-08-21 20:42:01 -05:00
2011-05-06 08:23:55 -06:00
2013-04-09 14:13:19 -04:00
2011-05-06 08:23:59 -06:00
2014-08-08 15:57:28 -07:00
2011-08-08 11:40:15 +02:00
2013-09-24 17:00:26 -07:00
2013-06-29 12:46:45 +04:00
2014-08-08 15:57:28 -07:00
2014-06-18 10:30:22 -07:00
2014-04-15 14:03:02 -06:00
2014-01-30 16:56:55 -08:00
2014-05-07 13:15:46 +02:00
2013-06-29 12:46:45 +04:00
2014-01-30 16:56:55 -08:00
2014-04-15 14:03:02 -06:00
2014-06-06 16:08:18 -07:00
2014-06-16 11:40:25 -06:00
2014-06-15 15:58:03 -10:00
2014-06-13 13:11:00 -04:00
2013-09-11 15:56:56 -07:00
2014-06-06 07:57:37 -06:00
2013-11-23 22:33:51 -08:00
2013-11-23 22:33:49 -08:00
2012-12-17 08:37:29 -06:00
2014-08-07 16:01:09 +04:00
2014-08-12 12:15:14 -06:00
2013-11-08 09:10:30 -07:00
2013-02-14 11:49:01 -08:00
2014-04-15 14:03:02 -06:00
2014-04-15 14:03:02 -06:00
2014-01-21 20:16:56 -08:00
2013-11-23 22:33:51 -08:00
2014-10-15 10:25:02 +10:30
2014-05-28 12:37:04 -06:00
2014-08-21 20:37:54 -05:00
2014-04-15 14:03:02 -06:00