Skip to content

scsi and megasas update

Hannes Reinecke qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7scsi-generic: Handle queue fullhw/scsi-generic.c+13 -71 reply
2/7megasas: Update to 1.02hw/megasas.c hw/mfi.h+95 -611 reply
3/7megasas: Codingstyle fixeshw/megasas.c+562 -6471 reply
4/7scsi: Use SAM status codeshw/megasas.c hw/scsi-bus.c hw/scsi-defs.h +1 more+27 -211 reply
5/7scsi-generic: Codingstyle fixeshw/scsi-generic.c+23 -221 reply
6/7scsi: Update sense handlinghw/megasas.c hw/scsi-bus.c hw/scsi-disk.c +2 more+84 -231 reply
7/7megasas: Update to 1.10hw/megasas.c+74 -741 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/7] scsi and megasas update

Hi all,

I've run an I/O exerciser against the megasas emulation and found quite some issues, both with the HBA and the SCSI emulation.

- SG_IO returns -EDOM if the internal queue is exhausted; we should be mapping this to QUEUE_FULL.
- Codingstyle fixes for megasas as suggested by blueswirl
- We should be using the status codes as defined by SAM, not the linux ones (which are shifted by one)
- Each driver has it's own mechanism of storing the sense data, so we should be implementing an accessor scsi_req_sense() to retrieve it.
- And, of course, a rather largish megasas update

Patches are relative to nab's qemu-kvm git tree at
git://git.kernel.org/pub/scm/virt/kvm/nab/qemu-kvm.git

Nab, I think this patchset should make Windows happy.

Cheers,

Hannes

Signature · 4 lines
Dr. Hannes Reinecke		      zSeries & Storage
[email protected]			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)