Improve error reporting
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v9 Latest4 patches 1 replyApplied
- v8 posting 2/24 patches 4 repliesSuperseded
- v8 posting 1/24 patches 3 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v7 | 4 patches | 5 replies | Superseded | |
| v6 | 4 patches | 12 replies | Superseded | |
| v5 | 4 patches | 8 replies | Superseded | |
| v4 | 4 patches | 5 replies | Superseded | |
| v3 | 4 patches | 2 replies | Superseded |
Changes in v9 from the cover letter
* -rebase on upstream
-fix the commit message of patch04
Patches in v9 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | net/socket: Don't treat odd socket type as SOCK_STREAMnet/ | +3 | 0 replies | |
| 2/4 | net/socket: Convert several helper functions to Errornet/ | +50 | 0 replies | |
| 3/4 | net/net: Convert parse_host_port() to Errorinclude/ net/ net/ | +34 | 0 replies | |
| 4/4 | net/socket: Improve -net socket error reportingnet/ | +44 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Markus Armbruster | Daniel P. Berrange |
|---|---|---|
| 1/4 | R-b | |
| 2/4 | R-b | R-b |
| 3/4 | R-b | |
| 4/4 | 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 v9 0/4] Improve error reporting
v9:
* -rebase on upstream
-fix the commit message of patch04
v8:
* PATCH 02 & 04
-resetting the error message for the user to read. [Markus Armbruster]
-fix the indentation and commit message. [Markus Armbruster]
v7:
* PATCH 01
-fix the error message. [Daniel P. Berrange]
-adjust the indentation problem. [Eric Blake]
* PATCH 03
-print a generic message when gethostbyname() failed in parse_host_port(),
drop the misleading ": unkonwn host" part. [Markus Armbruster]
v6:
* PATCH 02
-rename the subject
-drop the "qemu: error: " prefix.
-correct inappropriate error information settings.
* PATCH 03,04
-correct inappropriate error information settings. [Markus Armbruster]
v5:
* PATCH 01 make the commit message more exact about the actual function. [Markus Armbruster]
* PATCH 02, 03, 04 still retains the original function, but specific content and order of each patch has been adjusted substantially,
so that ensure each patch is a completed fix. [Markus Armbruster]
v4:
* PATCH 01 is redoing previous patch 1, replace the fprintf() with error_report() in the 'default' case of net_socket_fd_init() [Markus Armbruster]
v3:
* PATCH 01 is suggested by Markus and Daniel that removes the dubious 'default' case in the net_socket_fd_init(). Jason agreed.
* PATCH 02 is redoing previous patch 4.
* PATCH 04 is redoing previous patch 2, improves sort of error messages.
v2:
* PATCH 02 reworking of patch 2 following Markus's suggestion that convert error_report() in the function called by net_socket_*_init() to Error. Also add many error handling information.
* PATCH 03 net_socket_mcast_create(), net_socket_fd_init_dgram() and net_socket_fd_init() use the function such as fprintf, perror to report an error message. Convert it to Error.
* PATCH 04 parse_host_port() may fail without reporting an error. Now, fix it to set an error when it fails.
Mao Zhongyi (4):
net/socket: Don't treat odd socket type as SOCK_STREAM net/socket: Convert several helper functions to Error net/net: Convert parse_host_port() to Error net/socket: Improve -net socket error reporting
include/qemu/sockets.h | 3 +- net/net.c | 22 +++++-- net/socket.c | 156 ++++++++++++++++++++++++++++--------------------- 3 files changed, 108 insertions(+), 73 deletions(-)
Signature · 1 line
2.9.4