This makes the SG_IO code of non-dataplane available to dataplane, so that dataplane can use to allow scsi=on.
Fam Fam Zheng (2): virtio-blk: Factor out virtio_blk_handle_scsi_req from virtio_blk_handle_scsi dataplane: Support VIRTIO_BLK_T_SCSI_CMD hw/block/dataplane/virtio-blk.c | 19 +++++----- hw/block/virtio-blk.c | 77 +++++++++++++++++++++-------------------- include/hw/virtio/virtio-blk.h | 3 ++ 3 files changed, 54 insertions(+), 45 deletions(-) -- 1.9.2