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

Hannes Reinecke posted 4 patches 6 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1501835795-92331-1-git-send-email-hare@suse.de
Test FreeBSD passed
Test checkpatch passed
Test docker passed
Test s390x passed
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(-)
[Qemu-devel] [PATCHv2 0/4] scsi: enclosure support
Posted by Hannes Reinecke 6 years, 7 months ago
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(-)

-- 
1.8.5.6