Skip to content

s390x/ccw: Error reporting cleanups

Cédric Le Goater qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7hw/s390x/ccw: Make s390_ccw_get_dev_info() return a boolhw/s390x/s390-ccw.c+6 -62 replies
2/7s390x/css: Make CCWDeviceClass::realize return boolhw/s390x/ccw-device.c hw/s390x/ccw-device.h hw/s390x/s390-ccw.c+4 -42 replies
3/7hw/s390x/ccw: Remove local Error variable from s390_ccw_realize()hw/s390x/s390-ccw.c+5 -82 replies
4/7s390x/css: Make S390CCWDeviceClass::realize return boolhw/s390x/s390-ccw.c hw/vfio/ccw.c include/hw/s390x/s390-ccw.h+6 -62 replies
5/7vfio/ccw: Use the 'Error **errp' argument of vfio_ccw_realize()hw/vfio/ccw.c+5 -72 replies
6/7vfio/ccw: Fix the missed unrealize() call in error pathhw/vfio/ccw.c+2 -11 reply
7/7vfio/{ap, ccw}: Use warn_report_err() for IRQ notifier registration errorshw/vfio/ap.c hw/vfio/ccw.c+2 -22 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchZhenzhong DuanCédric Le GoaterEric FarmanAnthony KrowiakThomas Huth
SeriesR-b R-b
1/7R-b R-b
2/7R-b R-b
3/7R-b R-b
4/7R-b R-b
5/7R-b R-b
6/7R-b
7/7R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [PATCH 0/7] s390x/ccw: Error reporting cleanups

Hello,

The first patches of this series simply apply the practices described in the Rules section of the qapi/error.h file for routines taking an 'Error **' argument. The remaining patches are a fixup in the error path of vfio_ccw_realize() and some error reporting adjustements.

Applies on top of this vfio PR :

https://lore.kernel.org/qemu-devel/[email protected]

Thanks,

C.

Cédric Le Goater (6):
hw/s390x/ccw: Make s390_ccw_get_dev_info() return a bool s390x/css: Make CCWDeviceClass::realize return bool hw/s390x/ccw: Remove local Error variable from s390_ccw_realize() s390x/css: Make S390CCWDeviceClass::realize return bool vfio/ccw: Use the 'Error **errp' argument of vfio_ccw_realize() vfio/{ap,ccw}: Use warn_report_err() for IRQ notifier registration
errors

Zhenzhong Duan (1):
vfio/ccw: Fix the missed unrealize() call in error path

 hw/s390x/ccw-device.h       |  2 +-
 include/hw/s390x/s390-ccw.h |  2 +-
 hw/s390x/ccw-device.c       |  3 ++-
 hw/s390x/s390-ccw.c         | 29 +++++++++++++----------------
 hw/vfio/ap.c                |  2 +-
 hw/vfio/ccw.c               | 18 ++++++++----------
 6 files changed, 26 insertions(+), 30 deletions(-)
Signature · 1 line
2.45.1