Skip to content

make slirp subsystem self-contained

Liu Ping Fan qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5util: introduce gsource event abstractionutil/Makefile.objs util/event_gsource.c util/event_gsource.h+132 -05 replies
2/5slirp: make timeout localslirp/slirp.c slirp/slirp.h+13 -123 replies
3/5slirp: make slirp event dispatch based on slirp instancemain-loop.c net/slirp.c slirp/libslirp.h +4 more+291 -3220 replies
4/5slirp: decouple timeout for gpollslirp/slirp.c+1 -30 replies
5/5slirp: fold curtime into slirp instancemain-loop.c slirp/ip_icmp.c slirp/libslirp.h +10 more+22 -360 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchPaolo Bonzini
1/5
2/5R-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH v1 0/5] make slirp subsystem self-contained

This series aims to port slirp onto GSource, so that it can be driven by g_main_dispatch. And clean up the #ifdef in main-loop.

Liu Ping Fan (5):
util: introduce gsource event abstraction
slirp: make timeout local
slirp: make slirp event dispatch based on slirp instance
slirp: decouple timeout for gpoll
slirp: fold curtime into slirp instance

 main-loop.c          |   7 -
 net/slirp.c          |  24 +++
 slirp/ip_icmp.c      |   4 +-
 slirp/libslirp.h     |   9 +-
 slirp/main.h         |   1 -
 slirp/misc.c         |   4 +-
 slirp/slirp.c        | 586 +++++++++++++++++++++++----------------------------
 slirp/slirp.h        |   4 +
 slirp/socket.c       |  10 +-
 slirp/socket.h       |   1 +
 slirp/tcp_subr.c     |   2 +-
 slirp/tftp.c         |   4 +-
 slirp/udp.c          |   4 +-
 stubs/Makefile.objs  |   1 -
 stubs/slirp.c        |  15 --
 util/Makefile.objs   |   1 +
 util/event_gsource.c |  94 +++++++++
 util/event_gsource.h |  37 ++++
 18 files changed, 447 insertions(+), 361 deletions(-)
 delete mode 100644 stubs/slirp.c
 create mode 100644 util/event_gsource.c
 create mode 100644 util/event_gsource.h
Signature · 1 line
1.8.1.4