aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2014-08-06 13:35:04 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2014-09-23 15:41:11 +0200
commitaa8e8f83d0458a87e9a86ccfedfe68999d2d0fa6 (patch)
treec83d505058b195540432c146d3543b51f6f99d26 /include
parentc505333dab10cf7ffd3a30259c2df77d4d30343d (diff)
downloadqemu-aa8e8f83d0458a87e9a86ccfedfe68999d2d0fa6.zip
qemu-aa8e8f83d0458a87e9a86ccfedfe68999d2d0fa6.tar.gz
qemu-aa8e8f83d0458a87e9a86ccfedfe68999d2d0fa6.tar.bz2
virtio-scsi: Make virtio_scsi_free_req public
To share with dataplane code later. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/virtio/virtio-scsi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/virtio/virtio-scsi.h b/include/hw/virtio/virtio-scsi.h
index b99763c..713df63 100644
--- a/include/hw/virtio/virtio-scsi.h
+++ b/include/hw/virtio/virtio-scsi.h
@@ -230,5 +230,6 @@ void virtio_scsi_common_unrealize(DeviceState *dev, Error **errp);
void virtio_scsi_handle_ctrl_req(VirtIOSCSI *s, VirtIOSCSIReq *req);
void virtio_scsi_handle_cmd_req(VirtIOSCSI *s, VirtIOSCSIReq *req);
VirtIOSCSIReq *virtio_scsi_init_req(VirtIOSCSI *s, VirtQueue *vq);
+void virtio_scsi_free_req(VirtIOSCSIReq *req);
#endif /* _QEMU_VIRTIO_SCSI_H */