[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/7] s390x/ccw: Error reporting cleanups
From: |
Cédric Le Goater |
Subject: |
[PATCH 0/7] s390x/ccw: Error reporting cleanups |
Date: |
Wed, 22 May 2024 19:01:00 +0200 |
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/20240522095442.195243-1-clg@redhat.com
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(-)
--
2.45.1
- [PATCH 0/7] s390x/ccw: Error reporting cleanups,
Cédric Le Goater <=