virtio-scsi: introduce virtio_scsi_acquire/release
commite7a9f35321a048922233c90f32e91d033faac176
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Dec 2015 18:13:17 +0000 (10 19:13 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 22 Dec 2016 15:00:24 +0000 (22 16:00 +0100)
tree7f1894b55f2b8596887e3e62b3afb7b41337761b
parentc17a18ef30c2a23599c7b0ac66bbd67519beb11c
virtio-scsi: introduce virtio_scsi_acquire/release

These will be used more as soon as the acquire/release is pushed down to
the ioeventfd handlers.

Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/virtio-scsi.c