Skip to content

error: On abort, report where the error was created

Markus Armbruster qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 9 repliesIn review
  2. v17 patches 16 repliesSuperseded

Changes in v2 from the cover letter

* Trivially rebased.
* [PATCH 1] Fix accidental change of error_set_win32() message [Eric]
* [PATCH 6] Correct typoes, document error_free(NULL) is safe [Eric]
* [PATCH 7] Report __func__, too [Eric, László]
This more than doubles the text size increase: 35KiB (0.7%) instead of 14KiB (0.3%), but much of it should be cache-cold memory.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7error: De-duplicate code creating Error objectsutil/error.c+26 -442 replies
2/7error: Make error_setg() a functioninclude/qapi/error.h util/error.c+11 -20 replies
3/7qga: Clean up unnecessarily dirty castsinclude/qapi/error.h qga/vss-win32.c qga/vss-win32/requester.cpp +2 more+13 -190 replies
4/7qga/vss-win32: Document the DLL requires non-null errpqga/vss-win32.c qga/vss-win32/requester.cpp qga/vss-win32/requester.h+4 -20 replies
5/7error: error_set_errno() is unused, dropinclude/qapi/error.h util/error.c+4 -80 replies
6/7error: Revamp interface documentationinclude/qapi/error.h+127 -504 replies
7/7error: On abort, report where the error was createdinclude/qapi/error.h qga/vss-win32.c qga/vss-win32/requester.cpp +2 more+81 -303 replies

Reviews trailers per patch

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

PatchEric BlakeLaszlo Ersek
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b A-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/7] error: On abort, report where the error was created

v2:
* Trivially rebased.
* [PATCH 1] Fix accidental change of error_set_win32() message [Eric]
* [PATCH 6] Correct typoes, document error_free(NULL) is safe [Eric]
* [PATCH 7] Report __func__, too [Eric, László]
This more than doubles the text size increase: 35KiB (0.7%) instead of 14KiB (0.3%), but much of it should be cache-cold memory.

Markus Armbruster (7):
error: De-duplicate code creating Error objects
error: Make error_setg() a function
qga: Clean up unnecessarily dirty casts qga/vss-win32: Document the DLL requires non-null errp
error: error_set_errno() is unused, drop
error: Revamp interface documentation
error: On abort, report where the error was created

 include/qapi/error.h        | 234 +++++++++++++++++++++++++++++++-------------
 qga/vss-win32.c             |   6 +-
 qga/vss-win32/requester.cpp |   8 +-
 qga/vss-win32/requester.h   |  13 ++-
 util/error.c                | 120 +++++++++++++----------
 5 files changed, 246 insertions(+), 135 deletions(-)
Signature · 1 line
1.9.3