From: "Michael S. Tsirkin" <mst@redhat.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: Arnd Bergmann <arnd@arndb.de>, Asias He <asias.hejun@gmail.com>,
Jason Wang <jasowang@redhat.com>,
Pekka Enberg <penberg@kernel.org>, Amos Kong <akong@redhat.com>,
kvm@vger.kernel.org
Subject: Re: Does macvtap support host to guest communication?
Date: Mon, 18 Apr 2011 16:29:48 +0300 [thread overview]
Message-ID: <20110418132948.GC10452@redhat.com> (raw)
In-Reply-To: <20110418120114.GA28925@elte.hu>
On Mon, Apr 18, 2011 at 02:01:14PM +0200, Ingo Molnar wrote:
> - the kvm tool wants to be stateless - i.e. it does not want to allocate or
> manage host side devices - it just wants to provide the kind of TCP/IP
> connectivity host unprivileged user-space has, to the guest. The tool wants
> to be a generic tool with no global state, not a daemon.
>
> So it wants to be a stateless, unprivileged and zero-configuration solution.
>
> Is this possible with macvtap, and if yes, what kind of macvtap mode and usage
> would you recommend for that goal?
Well current approaches really all boil down to a network device
in guest passing us raw packets. Typically this means the backend
deals with raw packets as well. For example,
macvtap injects raw packets into host device, That's a priveledged
operation. For tap you can setup NAT to reduce the priveledge.
This is at the moment far from stateless though.
I would love to see something that does NAT but does not
need priveledges or host state. qemu uses slirp to
do (most of) this in userspace but it just seems silly to
maintain yet another networking stack just for this. What do others think?
--
MST
prev parent reply other threads:[~2011-04-18 13:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-18 6:10 Does macvtap support host to guest communication? Asias He
2011-04-18 6:58 ` Arnd Bergmann
2011-04-18 10:21 ` Asias He
2011-04-18 10:53 ` Arnd Bergmann
2011-04-18 12:01 ` Ingo Molnar
2011-04-18 13:20 ` Arnd Bergmann
2011-04-18 14:30 ` Asias He
2011-04-18 15:05 ` Arnd Bergmann
2011-04-18 15:28 ` Asias He
2011-04-19 12:14 ` Arnd Bergmann
[not found] ` <BANLkTi=MYexojZrCS_EMuHq+A1=zFyxM6g@mail.gmail.com>
2011-04-21 14:54 ` Arnd Bergmann
2011-04-26 9:34 ` Michael S. Tsirkin
2011-04-18 13:29 ` Michael S. Tsirkin [this message]
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=20110418132948.GC10452@redhat.com \
--to=mst@redhat.com \
--cc=akong@redhat.com \
--cc=arnd@arndb.de \
--cc=asias.hejun@gmail.com \
--cc=jasowang@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=penberg@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.