]> git.proxmox.com Git - mirror_qemu.git/commit - hw/block/virtio-blk.c
virtio-blk: Pass req to virtio_blk_handle_scsi_req
authorFam Zheng <famz@redhat.com>
Tue, 20 Jan 2015 03:28:46 +0000 (11:28 +0800)
committerKevin Wolf <kwolf@redhat.com>
Fri, 23 Jan 2015 17:17:05 +0000 (18:17 +0100)
commit75344fa4c5d6a3ebe2dec2d87cbea8524f5d0f42
tree4426d3c3037a829dddeee457cf7579d80c9605c5
parentc6441452b50c44fdbb362b239ce623f77cf3cd51
virtio-blk: Pass req to virtio_blk_handle_scsi_req

In preparation for calling blk_aio_ioctl. Also make the function static
as no other files need it.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/block/virtio-blk.c
include/hw/virtio/virtio-blk.h