Paolo,
this patch series was created during bringup of virtio-scsi on s390x.
We used a tape library as a test vehicle.
so here is the set of patches that allowed us to use it via virtio-scsi.
Any comments? Ok to apply?
Christian
Christian Hoff (5):
scsi: Fix data length == SCSI_SENSE_BUF_SIZE
scsi: Fix LOAD_UNLOAD
scsi: Add basic support for SCSI media changer commands.
scsi: Fix transfer length for READ POSITION commands.
scsi: Ensure command and transfer lengths are set for all SCSI stream
commands.
hw/scsi-bus.c | 91 +++++++++++++++++++++++++++++++++++++++++++++++++-------
hw/scsi-defs.h | 14 ++++++++-
2 files changed, 93 insertions(+), 12 deletions(-)