qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Liu Ping Fan <qemulist@gmail.com>
To: qemu-devel@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	mdroth <mdroth@linux.vnet.ibm.com>,
	Stefan Hajnoczi <stefanha@redhat.com>
Subject: [Qemu-devel] [PATCH v1 0/5] make slirp subsystem self-contained
Date: Thu,  8 Aug 2013 14:26:06 +0800	[thread overview]
Message-ID: <1375943171-1063-1-git-send-email-pingfank@linux.vnet.ibm.com> (raw)

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

-- 
1.8.1.4

             reply	other threads:[~2013-08-08  6:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-08  6:26 Liu Ping Fan [this message]
2013-08-08  6:26 ` [Qemu-devel] [PATCH v1 1/5] util: introduce gsource event abstraction Liu Ping Fan
2013-08-08 16:29   ` Michael Roth
2013-08-09  7:10     ` liu ping fan
2013-08-08 21:03   ` Michael Roth
2013-08-08 21:12     ` Michael Roth
2013-08-14 19:26     ` Michael Roth
2013-08-08  6:26 ` [Qemu-devel] [PATCH v1 2/5] slirp: make timeout local Liu Ping Fan
2013-08-09  8:06   ` Paolo Bonzini
2013-08-09  8:48     ` liu ping fan
2013-08-09  9:32       ` Paolo Bonzini
2013-08-08  6:26 ` [Qemu-devel] [PATCH v1 3/5] slirp: make slirp event dispatch based on slirp instance Liu Ping Fan
2013-08-08  6:26 ` [Qemu-devel] [PATCH v1 4/5] slirp: decouple timeout for gpoll Liu Ping Fan
2013-08-08  6:26 ` [Qemu-devel] [PATCH v1 5/5] slirp: fold curtime into slirp instance Liu Ping Fan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1375943171-1063-1-git-send-email-pingfank@linux.vnet.ibm.com \
    --to=qemulist@gmail.com \
    --cc=mdroth@linux.vnet.ibm.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).