summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/virtio_scsi.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-10-15 01:52:33 +0200
committerRusty Russell <rusty@rustcorp.com.au>2014-10-15 01:55:13 +0200
commit486d2e632ca157558a738626c092973f309f3b45 (patch)
treef8682be9d436c63e56a207e17c270a787ae05515 /drivers/scsi/virtio_scsi.c
parentvirtio_scsi: fix race on device removal (diff)
downloadlinux-486d2e632ca157558a738626c092973f309f3b45.tar.xz
linux-486d2e632ca157558a738626c092973f309f3b45.zip
virtio_balloon: enable VQs early on restore
virtio spec requires drivers to set DRIVER_OK before using VQs. This is set automatically after resume returns, virtio balloon violated this rule by adding bufs, which causes the VQ to be used directly within restore. To fix, call virtio_device_ready before using VQ. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/scsi/virtio_scsi.c')
0 files changed, 0 insertions, 0 deletions