Skip to content

slirp: fill mainloop with more precise timeout value

Liu Ping Fan qemu-devel 4 versions – Applied

Status from this message: Thanks, applied to the slirp queue. I'm carrying the tiny cleanup below

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 1 replyApplied
  2. v33 patches 7 repliesSuperseded
  3. v23 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches7 repliesSuperseded

Changes in v4 from the cover letter

use macro TIMEOUT_DEFAULT to define the default timeout of slirp and document it.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3slirp: make timeout localslirp/slirp.c slirp/slirp.h+13 -120 replies
2/3slirp: define timeout as macroslirp/slirp.c+12 -50 replies
3/3slirp: set mainloop timeout with more precise valuemain-loop.c slirp/libslirp.h slirp/slirp.c +1 more+27 -130 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [Qemu-devel] [PATCH v4 0/3] slirp: fill mainloop with more precise timeout value

With this series, we can set the mainloop timeout more precisely when slirp has to emulate tcp timeout problem.

v4:
use macro TIMEOUT_DEFAULT to define the default timeout of slirp and document it.

v3:
fix comment: document timeout unit "milliseconds"
fix logic: no slirps, no timeout modifications in slirp_pollfds_fill()
v2:
fold slirp_update_timeout logic into slirp_pollfds_fill.

Liu Ping Fan (3):
slirp: make timeout local
slirp: define timeout as macro
slirp: set mainloop timeout with more precise value

 main-loop.c      |  3 +--
 slirp/libslirp.h |  3 +--
 slirp/slirp.c    | 61 +++++++++++++++++++++++++++++++++++++++-----------------
 slirp/slirp.h    |  3 +++
 stubs/slirp.c    |  6 +-----
 5 files changed, 49 insertions(+), 27 deletions(-)
Signature · 1 line
1.8.1.4