qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gleb Natapov <gleb@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 0/2] Marry slirp and qemu character device.
Date: Mon, 29 Dec 2008 16:39:23 +0200	[thread overview]
Message-ID: <20081229143922.24671.86727.stgit@dhcp-1-237.tlv.redhat.com> (raw)

Trap TCP connection to special IP/port inside slirp and redirect its
traffic to a qemu character device. This is needed for communication
between host and guest management agents. I am also planning to add an
option to slirp networking to disable connection to outside world through
it. This way tap will be used for general networking and slirp will be
used for secure guest<->host communication.

---

Gleb Natapov (2):
      Add vmchannel command line option.
      Redirect slirp traffic to/from qemu character device.


 slirp/libslirp.h |    5 ++-
 slirp/main.h     |    1 +
 slirp/misc.c     |    2 +
 slirp/sbuf.c     |    2 +
 slirp/slirp.c    |   57 +++++++++++++++++++++++++++++++
 slirp/socket.c   |   99 +++++++++++++++++++++++++++++++++++++++++++-----------
 slirp/socket.h   |    2 +
 slirp/tcp_subr.c |    5 +++
 vl.c             |   75 ++++++++++++++++++++++++++++++++++++++++-
 9 files changed, 223 insertions(+), 25 deletions(-)

-- 
	Gleb.

             reply	other threads:[~2008-12-29 14:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-29 14:39 Gleb Natapov [this message]
2008-12-29 14:39 ` [Qemu-devel] [PATCH 1/2] Redirect slirp traffic to/from qemu character device Gleb Natapov
2008-12-29 14:39 ` [Qemu-devel] [PATCH 2/2] Add vmchannel command line option Gleb Natapov

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=20081229143922.24671.86727.stgit@dhcp-1-237.tlv.redhat.com \
    --to=gleb@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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).