Skip to content

net: Improve error reporting

Markus Armbruster qemu-devel 2 versions – Applied

Status from this message: Thanks, applied to my net tree:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest15 patches 4 repliesApplied
  2. v115 patches 20 repliesSuperseded

Changes in v2 from the cover letter

- Touch up a few commit messages [Eric]
- Touch up a an error message in PATCH 03+15 [Eric]
- Don't report possibly bogus errno in PATCH 12 [Eric]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/15net: Improve error message for -net hubport a bitnet/hub.c net/net.c+6 -40 replies
2/15net: Permit incremental conversion of init functions to Errornet/clients.h net/dump.c net/hub.c +9 more+40 -290 replies
3/15net: Improve -net nic error reportingnet/net.c+6 -60 replies
4/15net/dump: Improve -net/host_net_add dump error reportingnet/dump.c+6 -60 replies
5/15tap: net_tap_fd_init() can't fail, drop dead error handlingnet/tap.c+1 -130 replies
6/15tap: Improve -netdev/netdev_add/-net/... bridge error reportingnet/tap.c+19 -110 replies
7/15tap: Convert tap_set_sndbuf() to Errornet/tap-aix.c net/tap-bsd.c net/tap-haiku.c +4 more+10 -140 replies
8/15tap: Convert net_init_tap_one() to Errornet/tap.c+38 -321 reply
9/15tap: Convert launch_script() to Errornet/tap.c+28 -120 replies
10/15tap: Permit incremental conversion of tap_open() to Errornet/tap-aix.c net/tap-bsd.c net/tap-haiku.c +4 more+22 -130 replies
11/15tap-linux: Convert tap_open() to Errornet/tap-linux.c+9 -80 replies
12/15tap-bsd: Convert tap_open() to Errornet/tap-bsd.c+14 -191 reply
13/15tap-solaris: Convert tap_open() to Errornet/tap-solaris.c+30 -290 replies
14/15tap: Finish conversion of tap_open() to Errornet/tap.c+0 -40 replies
15/15tap: Improve -netdev/netdev_add/-net/... tap error reportingnet/tap.c+22 -231 reply

Reviews trailers per patch

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

PatchEric Blake
1/15R-b
2/15R-b
3/15R-b
4/15R-b
5/15R-b
6/15R-b
7/15R-b
8/15R-b
9/15R-b
10/15R-b
11/15R-b
12/15R-b
13/15R-b
14/15R-b
15/15R-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 00/15] net: Improve error reporting

v2:
- Touch up a few commit messages [Eric]
- Touch up a an error message in PATCH 03+15 [Eric]
- Don't report possibly bogus errno in PATCH 12 [Eric]

Markus Armbruster (15):
net: Improve error message for -net hubport a bit
net: Permit incremental conversion of init functions to Error
net: Improve -net nic error reporting
net/dump: Improve -net/host_net_add dump error reporting
tap: net_tap_fd_init() can't fail, drop dead error handling
tap: Improve -netdev/netdev_add/-net/... bridge error reporting
tap: Convert tap_set_sndbuf() to Error
tap: Convert net_init_tap_one() to Error
tap: Convert launch_script() to Error
tap: Permit incremental conversion of tap_open() to Error
tap-linux: Convert tap_open() to Error
tap-bsd: Convert tap_open() to Error
tap-solaris: Convert tap_open() to Error
tap: Finish conversion of tap_open() to Error
tap: Improve -netdev/netdev_add/-net/... tap error reporting

 net/clients.h     |  20 +++---
 net/dump.c        |  13 ++--
 net/hub.c         |   7 +-
 net/l2tpv3.c      |   5 +-
 net/net.c         |  30 ++++++---
 net/netmap.c      |   3 +-
 net/slirp.c       |   3 +-
 net/socket.c      |   3 +-
 net/tap-aix.c     |   7 +-
 net/tap-bsd.c     |  38 +++++------
 net/tap-haiku.c   |   7 +-
 net/tap-linux.c   |  24 +++----
 net/tap-solaris.c |  63 ++++++++---------
 net/tap-win32.c   |   3 +-
 net/tap.c         | 198 ++++++++++++++++++++++++++++++------------------------
 net/tap_int.h     |   4 +-
 net/vde.c         |   3 +-
 net/vhost-user.c  |   3 +-
 18 files changed, 231 insertions(+), 203 deletions(-)
Signature · 1 line
1.9.3