[SCSI] virtio-scsi: unlock during kick
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 Jun 2012 14:56:31 +0000 (16:56 +0200)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 20 Jul 2012 07:58:57 +0000 (08:58 +0100)
commitb5ee8f2802c559fccb177c0a117f5cd56c1049cc
tree6070c23dd5e23bc02bae19b3d74c8ad88d739cdb
parenta752359f2b0a291c5f229e883842e4b30c698387
[SCSI] virtio-scsi: unlock during kick

Separate virtqueue_kick_prepare from virtqueue_notify, so that the
expensive vmexit is done without holding the lock.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/virtio_scsi.c