diff options
author | Fam Zheng <famz@redhat.com> | 2014-08-06 13:35:03 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-09-23 15:41:11 +0200 |
commit | c505333dab10cf7ffd3a30259c2df77d4d30343d (patch) | |
tree | d88e6fed56b1a88b363a50c3786ae78fdea07148 /include | |
parent | dc56b7c4fb0c95a9648ad5bf29e09e5676404077 (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.h | 1 |
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 */ |