Skip to content

scsi: enclosure support

Hannes Reinecke qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 7 repliesIn review
  2. v12 patches 6 repliesSuperseded

Changes to v1 from the cover letter

- Add patch to clarify sense code responses
- Add 'enclosure' option for SCSI devices

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4scsi: Make LUN 0 a simple enclosurehw/scsi/scsi-bus.c+55 -10 replies
2/4scsi: use qemu_uuid to generate logical identifier for SEShw/scsi/scsi-bus.c+17 -00 replies
3/4scsi: clarify sense codes for LUN0 emulationhw/scsi/scsi-bus.c+6 -15 replies
4/4scsi: Add 'enclosure' option for scsi deviceshw/scsi/scsi-bus.c hw/scsi/scsi-disk.c include/hw/scsi/scsi.h+12 -42 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCHv2 0/4] scsi: enclosure support

Hi all,

due to a customer issue I've added simple subenclosure support to the SCSI emulation. By setting the 'enclosure' option to a SCSI device we will now present an enclosure device on LUN0 (if LUN0 is otherwise unassigned) or setting the 'EncServ' bit in the inquiry data if LUN0 is assigned to a device.

Changes to v1:
- Add patch to clarify sense code responses
- Add 'enclosure' option for SCSI devices

Hannes Reinecke (4):
scsi: Make LUN 0 a simple enclosure
scsi: use qemu_uuid to generate logical identifier for SES
scsi: clarify sense codes for LUN0 emulation
scsi: Add 'enclosure' option for scsi devices

 hw/scsi/scsi-bus.c     | 85 ++++++++++++++++++++++++++++++++++++++++++++++++--
 hw/scsi/scsi-disk.c    |  4 ++-
 include/hw/scsi/scsi.h |  1 +
 3 files changed, 87 insertions(+), 3 deletions(-)
Signature · 1 line
1.8.5.6