aboutsummaryrefslogtreecommitdiff
path: root/include/hw/virtio/virtio-scsi.h
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2014-08-06 13:35:05 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2014-09-23 15:41:11 +0200
commit20e6dca1df6b6ea74c3d6af74dc2184f464b3035 (patch)
treed4e51d6810f4e20b6747174f16d213114a5a78b4 /include/hw/virtio/virtio-scsi.h
parentaa8e8f83d0458a87e9a86ccfedfe68999d2d0fa6 (diff)
virtio-scsi: Make virtio_scsi_push_event public
Later this will be called by dataplane code. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/virtio/virtio-scsi.h')
-rw-r--r--include/hw/virtio/virtio-scsi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/virtio/virtio-scsi.h b/include/hw/virtio/virtio-scsi.h
index 713df63ace..6cd2f5764d 100644
--- a/include/hw/virtio/virtio-scsi.h
+++ b/include/hw/virtio/virtio-scsi.h
@@ -231,5 +231,7 @@ 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);
+void virtio_scsi_push_event(VirtIOSCSI *s, SCSIDevice *dev,
+ uint32_t event, uint32_t reason);
#endif /* _QEMU_VIRTIO_SCSI_H */