summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2014-08-06 13:35:03 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2014-09-23 15:41:11 +0200
commitc505333dab10cf7ffd3a30259c2df77d4d30343d (patch)
treed88e6fed56b1a88b363a50c3786ae78fdea07148 /include
parentdc56b7c4fb0c95a9648ad5bf29e09e5676404077 (diff)
virtio-scsi: Make virtio_scsi_init_req public
To share with datplane 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 b91d32633a..b99763c19c 100644
--- a/include/hw/virtio/virtio-scsi.h
+++ b/include/hw/virtio/virtio-scsi.h
@@ -229,5 +229,6 @@ void virtio_scsi_common_realize(DeviceState *dev, Error **errp,
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);
#endif /* _QEMU_VIRTIO_SCSI_H */