vl.c: unify exit on error handling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyIn review
- v12 patches 4 repliesSuperseded
Changes in v2 from the cover letter
* s/exit_if_error/error_report_fatal/
* move error_report_fatal() into util/error.c
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | vl.c: use single local_err throughout main()vl.c | +1 | 0 replies | |
| 2/2 | vl.c: reduce exit on error code duplicationinclude/ util/ vl.c | +32 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v2 0/2] vl.c: unify exit on error handling
v2:
* s/exit_if_error/error_report_fatal/
* move error_report_fatal() into util/error.c
reduces amount of code needed for handling exit on error for new users, turning it from 5LOC to 1 for each case.
Igor Mammedov (2):
vl.c: use single local_err throughout main()
vl.c: reduce exit on error code duplication
include/qemu/error-report.h | 2 ++ util/error.c | 24 ++++++++++++++++++++++++ vl.c | 38 +++++++------------------------------- 3 files changed, 33 insertions(+), 31 deletions(-)
Signature · 1 line
1.9.3