commit | 5a05cbeeaaa2ec463d48c0026e8e6be243ea0bab | [log] [tgz] |
---|---|---|
author | Fam Zheng <famz@redhat.com> | Thu May 22 16:22:42 2014 +0800 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Wed Jun 04 09:56:12 2014 +0200 |
tree | 7bf66798239eab2181014f063b7862e48c7dd694 | |
parent | 6d7e73d62fa32813b6f6a3575db2e9b5e0d43387 [diff] |
virtio-blk: Factor out virtio_blk_handle_scsi_req from virtio_blk_handle_scsi The common logic to process a scsi request in a VirtQueueElement is extracted to a function to share with dataplane. This makes VirtIOBlockReq.scsi unused, so drop it. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>