Skip to content

Various net and slirp fixes & enhancements

Jan Kiszka qemu-devel 2 versions – Applied

Status from this message: Applied. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/210 patches 2 repliesApplied
  2. v1 posting 1/29 patches 4 repliesSuperseded

Patches in v1 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/10slirp: Fix restricted modeslirp/ip_icmp.c slirp/ip_input.c slirp/udp.c+6 -250 replies
2/10slirp: Canonicalize restrict syntaxnet/slirp.c qemu-options.hx+17 -80 replies
3/10slirp: Strictly associate DHCP/BOOTP and TFTP with virtual hostslirp/udp.c+8 -50 replies
4/10slirp: Replace m_freem with m_freeslirp/ip_icmp.c slirp/ip_input.c slirp/ip_output.c +4 more+16 -190 replies
5/10slirp: Put forked exec into separate process groupslirp/misc.c+2 -10 replies
6/10slirp: Forward ICMP echo requests via unprivileged socketsslirp/ip_icmp.c slirp/ip_icmp.h slirp/ip_input.c +4 more+147 -10 replies
7/10net: Improve layout of 'info network'net.c+9 -50 replies
8/10net: Refactor net_client_typesnet.c net.h net/slirp.c+23 -150 replies
9/10net: Dump client type 'info network'net.c+12 -30 replies
10/10net: Consistently use qemu_macaddr_default_if_unsethw/dp8393x.c hw/etraxfs_eth.c hw/mcf_fec.c +6 more+11 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/10] [RESEND] Various net and slirp fixes & enhancements

Almost just a reposting of the previously sent series. No patch modified, but a nifty (IMO) new one: ping forwarding for slirp using the unprivileged ICMP sockets of Linux 3.0. See commit log for a simple how-to.

CC Gleb Natapov <[email protected]>
CC Markus Armbruster <[email protected]>
CC Peter Maydell <[email protected]>

Jan Kiszka (10):
slirp: Fix restricted mode
slirp: Canonicalize restrict syntax
slirp: Strictly associate DHCP/BOOTP and TFTP with virtual host
slirp: Replace m_freem with m_free
slirp: Put forked exec into separate process group
slirp: Forward ICMP echo requests via unprivileged sockets
net: Improve layout of 'info network'
net: Refactor net_client_types
net: Dump client type 'info network'
net: Consistently use qemu_macaddr_default_if_unset

 hw/dp8393x.c       |    2 +-
 hw/etraxfs_eth.c   |    2 +-
 hw/mcf_fec.c       |    2 +-
 hw/mipsnet.c       |    2 +-
 hw/qdev.c          |    2 +-
 hw/stellaris.c     |    2 +-
 hw/xen_devconfig.c |    4 +-
 net.c              |   65 +++++++++++++++++++++--------------
 net.h              |    8 +++--
 net/slirp.c        |   23 +++++++++----
 qemu-options.hx    |    4 +-
 slirp/ip_icmp.c    |   95 +++++++++++++++++++++++++++++++++++++++++++++++++--
 slirp/ip_icmp.h    |    3 ++
 slirp/ip_input.c   |   30 +++--------------
 slirp/ip_output.c  |    4 +-
 slirp/mbuf.h       |    3 --
 slirp/misc.c       |   16 ++++++++-
 slirp/slirp.c      |   37 ++++++++++++++++++++
 slirp/slirp.h      |    5 +++
 slirp/socket.c     |    2 +
 slirp/tcp_input.c  |   10 +++---
 slirp/tcp_subr.c   |    2 +-
 slirp/udp.c        |   23 +++++++-----
 23 files changed, 249 insertions(+), 97 deletions(-)
Signature · 1 line
1.7.3.4