Skip to contentSkip to conversation

virtio-scsi: fix up cdb mess

PATCH In review Michael S. Tsirkin 2 participants 2 messages Mar 11, 2015 – Mar 12, 2015

lore
Share & tools
lore
#0 lore raw

cover virtio-scsi: fix up cdb mess

Fam Zheng <[email protected]>, Alexey Kardashevskiy <[email protected]>, Nikunj A Dadhania <[email protected]> all reported that importing linux headers breaks cdb/sense in virtio scsi
in qemu.

This imports a linux patch fixing that, and does some related cleanups.

Lightly tested.

Testing would be very much appreciated.

Michael S. Tsirkin (4):
virtio-scsi: drop duplicate CDB/SENSE SIZE uapi/virtio_scsi: allow overriding CDB/SENSE size
virtio-scsi: fix cdb/sense size
virtio-scsi: clean out duplicate cdb field

 include/hw/virtio/virtio-scsi.h              | 12 ++++--------
 include/standard-headers/linux/virtio_scsi.h | 12 ++++++++++--
 hw/scsi/virtio-scsi.c                        | 12 ++++++------
 3 files changed, 20 insertions(+), 16 deletions(-)
Signature · 1 line
MST
Tested-by on the v1 series
#1 lore raw
Quoted 10 lines · Michael S. Tsirkin

Fam Zheng <[email protected]>, Alexey Kardashevskiy <[email protected]>, Nikunj A Dadhania <[email protected]> all reported that importing linux headers breaks cdb/sense in virtio scsi
in qemu.

This imports a linux patch fixing that, and does some related cleanups.

Lightly tested.

Testing would be very much appreciated.

Works for me.

Quoted 12 lines

Michael S. Tsirkin (4):
virtio-scsi: drop duplicate CDB/SENSE SIZE uapi/virtio_scsi: allow overriding CDB/SENSE size
virtio-scsi: fix cdb/sense size
virtio-scsi: clean out duplicate cdb field

  include/hw/virtio/virtio-scsi.h              | 12 ++++--------
  include/standard-headers/linux/virtio_scsi.h | 12 ++++++++++--
  hw/scsi/virtio-scsi.c                        | 12 ++++++------
  3 files changed, 20 insertions(+), 16 deletions(-)
Signature · 1 line
Alexey