Skip to content

scsi: Error reporting cleanups, realize()

Markus Armbruster qemu-devel 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyApplied
  2. v14 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Rebase: PATCH 01 loses the spapr_vscsi.c hunk, because commit 28b07e7 converted it to realize(). Commit message updated. PATCH 03 commit message updated to current error messages. R-bys retained, hope that's okay.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4scsi: Clean up duplicated error in legacy if=scsi codehw/scsi/esp-pci.c hw/scsi/lsi53c895a.c hw/scsi/megasas.c +1 more+6 -20 replies
2/4hw: Propagate errors through qdev_prop_set_drive()hw/arm/vexpress.c hw/arm/virt.c hw/block/pflash_cfi01.c +5 more+32 -270 replies
3/4scsi: Improve error reporting for invalid drive propertyhw/scsi/scsi-bus.c+1 -40 replies
4/4scsi: Convert remaining PCI HBAs to realize()hw/scsi/esp-pci.c hw/scsi/lsi53c895a.c hw/scsi/megasas.c+17 -410 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchPeter Crosthwaite
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/4] scsi: Error reporting cleanups, realize()

Applies cleanly on master now, and passes make check with my "[PATCH RFC 1/1] qtest: Add generic PCI device test" applied on top.

v2:
- Rebase: PATCH 01 loses the spapr_vscsi.c hunk, because commit 28b07e7 converted it to realize(). Commit message updated. PATCH 03 commit message updated to current error messages. R-bys retained, hope that's okay.

Markus Armbruster (4):
scsi: Clean up duplicated error in legacy if=scsi code
hw: Propagate errors through qdev_prop_set_drive()
scsi: Improve error reporting for invalid drive property
scsi: Convert remaining PCI HBAs to realize()

 hw/arm/vexpress.c                |  6 +++---
 hw/arm/virt.c                    |  6 +++---
 hw/block/pflash_cfi01.c          |  4 ++--
 hw/block/pflash_cfi02.c          |  4 ++--
 hw/core/qdev-properties-system.c | 22 ++++++++++------------
 hw/scsi/esp-pci.c                | 28 +++++++++++-----------------
 hw/scsi/lsi53c895a.c             | 13 +++----------
 hw/scsi/megasas.c                | 12 +++---------
 hw/scsi/scsi-bus.c               |  6 +++---
 hw/usb/dev-storage.c             |  7 +++++--
 include/hw/qdev-properties.h     |  4 ++--
 11 files changed, 47 insertions(+), 65 deletions(-)
Signature · 1 line
1.9.3