Cleanup up to fix missing ERRP_GUARD() for error_prepend()
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest29 patches 15 repliesIn review
- v117 patches 26 repliesSuperseded
Patches in v2 No applies recorded yet
Reviews trailers per patch
27 of 29 patches have a Reviewed-by or Acked-by.
| Patch | Markus Armbruster | Zhenzhong Duan | Eric Blake | Vladimir Sementsov-Ogievskiy | Stefan Hajnoczi | Michael S. Tsirkin | Thomas Huth | Cédric Le Goater | Fabiano Rosas | Peter Xu | Eric Auger |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1/29 | R-b | ||||||||||
| 2/29 | R-b | R-b | |||||||||
| 3/29 | R-b | ||||||||||
| 4/29 | R-b | ||||||||||
| 5/29 | R-b | ||||||||||
| 6/29 | R-b | ||||||||||
| 7/29 | R-b | ||||||||||
| 8/29 | R-b | ||||||||||
| 9/29 | R-b | ||||||||||
| 10/29 | R-b | ||||||||||
| 11/29 | R-b | ||||||||||
| 12/29 | R-b | ||||||||||
| 13/29 | R-b | A-b | |||||||||
| 14/29 | |||||||||||
| 15/29 | R-b | ||||||||||
| 16/29 | |||||||||||
| 17/29 | R-b | ||||||||||
| 18/29 | R-b | ||||||||||
| 19/29 | R-b | R-b | |||||||||
| 20/29 | R-b | ||||||||||
| 21/29 | R-b | ||||||||||
| 22/29 | R-b | ||||||||||
| 23/29 | R-b | ||||||||||
| 24/29 | R-b | ||||||||||
| 25/29 | R-b | ||||||||||
| 26/29 | R-b | ||||||||||
| 27/29 | R-b | A-b | |||||||||
| 28/29 | R-b | ||||||||||
| 29/29 | R-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 11 reviewers.
Cover letter [PATCH v2 00/29] Cleanup up to fix missing ERRP_GUARD() for error_prepend()
From: Zhao Liu <[email protected]>
Hi,
This series is the v2 to add missing ERRP_GUARD() for error_prepend(), which collects the previous v1 part 1 [1] and v1 part 2 (and excludes the 4 patches that have already been merged).
The @errp's second restriction (in qapi/error) said:
* Without ERRP_GUARD(), use of the @errp parameter is restricted:
...
* - It should not be passed to error_prepend() or
* error_append_hint(), because that doesn't work with &error_fatal.
* ERRP_GUARD() lifts these restrictions.
With this series, all error_prepend() will follow the above usage rules.
In this series, 2 cases of error_prepend() with &error_fatal are recognized (patch 30 & patch 31).
And there are some remaining TODOs:
* follow-up cleanup for related @err use cases. (Suggested by Thomas)
* continue to cleanup error_append_hint().
The cleanup looks very trivial and thanks for your review!
[1]: https://lore.kernel.org/qemu-devel/[email protected]/
[2]: https://lore.kernel.org/qemu-devel/[email protected]/
Thanks and Best Regards,
Zhao
---
Zhao Liu (29):
error: Add error_vprepend() in comment of ERRP_GUARD() rules backends/iommufd: Fix missing ERRP_GUARD() for error_prepend()
block: Fix missing ERRP_GUARD() for error_prepend() block/copy-before-write: Fix missing ERRP_GUARD() for error_prepend() block/nbd: Fix missing ERRP_GUARD() for error_prepend() block/nvme: Fix missing ERRP_GUARD() for error_prepend() block/qcow2-bitmap: Fix missing ERRP_GUARD() for error_prepend() block/qcow2: Fix missing ERRP_GUARD() for error_prepend() block/qed: Fix missing ERRP_GUARD() for error_prepend() block/snapshot: Fix missing ERRP_GUARD() for error_prepend() block/vdi: Fix missing ERRP_GUARD() for error_prepend() block/vmdk: Fix missing ERRP_GUARD() for error_prepend() block/virtio-blk: Fix missing ERRP_GUARD() for error_prepend() hw/core/loader-fit: Fix missing ERRP_GUARD() for error_prepend() hw/core/qdev-properties-system: Fix missing ERRP_GUARD() for
error_prepend()
hw/misc/ivshmem: Fix missing ERRP_GUARD() for error_prepend() hw/scsi/vhost-scsi: Fix missing ERRP_GUARD() for error_prepend() hw/vfio/ap: Fix missing ERRP_GUARD() for error_prepend() hw/vfio/container: Fix missing ERRP_GUARD() for error_prepend() hw/vfio/helpers: Fix missing ERRP_GUARD() for error_prepend() hw/vfio/iommufd: Fix missing ERRP_GUARD() for error_prepend() hw/vfio/pci-quirks: Fix missing ERRP_GUARD() for error_prepend() hw/vfio/pci: Fix missing ERRP_GUARD() for error_prepend() hw/vfio/platform: Fix missing ERRP_GUARD() for error_prepend() hw/virtio/vhost-vsock: Fix missing ERRP_GUARD() for error_prepend() hw/virtio/vhost: Fix missing ERRP_GUARD() for error_prepend() migration/option: Fix missing ERRP_GUARD() for error_prepend() net/vhost-vdpa: Fix missing ERRP_GUARD() for error_prepend() target/s390x/cpu_models: Fix missing ERRP_GUARD() for error_prepend()
backends/iommufd.c | 1 + block.c | 4 ++++ block/copy-before-write.c | 1 + block/nbd.c | 1 + block/nvme.c | 3 +++ block/qcow2-bitmap.c | 1 + block/qcow2.c | 2 ++ block/qed.c | 1 + block/snapshot.c | 2 ++ block/vdi.c | 1 + block/vmdk.c | 1 + hw/block/virtio-blk.c | 1 + hw/core/loader-fit.c | 2 ++ hw/core/qdev-properties-system.c | 1 + hw/misc/ivshmem.c | 1 + hw/scsi/vhost-scsi.c | 1 + hw/vfio/ap.c | 1 + hw/vfio/container.c | 1 + hw/vfio/helpers.c | 3 +++ hw/vfio/iommufd.c | 1 + hw/vfio/pci-quirks.c | 2 ++ hw/vfio/pci.c | 2 ++ hw/vfio/platform.c | 1 + hw/virtio/vhost-vsock.c | 1 + hw/virtio/vhost.c | 2 ++ include/qapi/error.h | 2 +- migration/options.c | 2 ++ net/vhost-vdpa.c | 1 + target/s390x/cpu_models.c | 2 ++ 29 files changed, 44 insertions(+), 1 deletion(-)
Signature · 1 line
2.34.1