diff options
author | Fam Zheng <famz@redhat.com> | 2014-08-06 13:35:04 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-09-23 15:41:11 +0200 |
commit | aa8e8f83d0458a87e9a86ccfedfe68999d2d0fa6 (patch) | |
tree | c83d505058b195540432c146d3543b51f6f99d26 /hw/scsi/virtio-scsi.c | |
parent | c505333dab10cf7ffd3a30259c2df77d4d30343d (diff) | |
download | qemu-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 'hw/scsi/virtio-scsi.c')
-rw-r--r-- | hw/scsi/virtio-scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/scsi/virtio-scsi.c b/hw/scsi/virtio-scsi.c index 8cab75b..c7ae83d 100644 --- a/hw/scsi/virtio-scsi.c +++ b/hw/scsi/virtio-scsi.c @@ -53,7 +53,7 @@ VirtIOSCSIReq *virtio_scsi_init_req(VirtIOSCSI *s, VirtQueue *vq) return req; } -static void virtio_scsi_free_req(VirtIOSCSIReq *req) +void virtio_scsi_free_req(VirtIOSCSIReq *req) { VirtIOSCSICommon *vs = (VirtIOSCSICommon *)req->dev; |