Skip to content

: Changes for PERSISTENT_RESERVE_OUT and MAINTENANCE CDBs v2

Nicholas A. Bellinger kvm qemu-devel 1 version Applied

Status from this message: Thanks, applied to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2: Add PERSISTENT_RESERVE_OUT SCSIRequest->cmd.mode setuphw/scsi-bus.c+1 -00 replies
2/2: Add MAINTENANCE_IN and MAINTENANCE_OUT SCSIRequest xfer and mode assignmentshw/scsi-bus.c hw/scsi-defs.h+12 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] [scsi-bus]: Changes for PERSISTENT_RESERVE_OUT and MAINTENANCE CDBs v2

From: Nicholas Bellinger <[email protected]>

Greetings,

Attached is v2 for a series containing a handful of changes required for scsi-bus in order to get PERSISTENT_RESERVE_OUT and MAINTENANCE CDBs working as expected. Thanks to Kevin Wolf for pointing out the unnecessary SCSIRequest->cmd.xfer reassignments in scsi_req_length() from the original series.

Tested with Linux KVM guests and Megasas 8708EM2 HBA emulation + scsi-generic and TCM_Loop target ports.

Nicholas Bellinger (2):
[scsi-bus]: Add PERSISTENT_RESERVE_OUT SCSIRequest->cmd.mode setup [scsi-bus]: Add MAINTENANCE_IN and MAINTENANCE_OUT SCSIRequest xfer
and mode assignments

 hw/scsi-bus.c  |   11 +++++++++++
 hw/scsi-defs.h |    2 ++
 2 files changed, 13 insertions(+), 0 deletions(-)