From: "Daniel P. Berrange" <berrange@redhat.com>
To: Pekka Enberg <penberg@kernel.org>
Cc: Sasha Levin <levinsasha928@gmail.com>,
mingo@elte.hu, gorcunov@gmail.com, asias.hejun@gmail.com,
kvm@vger.kernel.org, Osier Yang <jyang@redhat.com>
Subject: Re: [PATCH] kvm tools: Allow the user to pass a FD to use as a TAP device
Date: Wed, 7 Dec 2011 16:38:47 +0000 [thread overview]
Message-ID: <20111207163847.GB10305@redhat.com> (raw)
In-Reply-To: <CAOJsxLH-Mvv5O1uUzkiZmbLcEJ94QKfwKrSMdXuJbdbUwQxXwg@mail.gmail.com>
On Wed, Dec 07, 2011 at 06:28:12PM +0200, Pekka Enberg wrote:
> On Wed, Dec 7, 2011 at 11:37 AM, Sasha Levin <levinsasha928@gmail.com> wrote:
> > This allows users to pass a pre-configured fd to use for the network
> > interface.
> >
> > For example:
> > kvm run -n mode=tap,fd=3 3<>/dev/net/tap3
> >
> > Cc: Daniel P. Berrange <berrange@redhat.com>
> > Cc: Osier Yang <jyang@redhat.com>
> > Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
>
> Daniel, Osier, I assume this is useful for libvirt?
Yes, this works.
I don't know if kvmtool supports the VNET_HDR extension yet, but if it
does, then we can make libvirt pass in a pre-opened FD for that too.
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
next prev parent reply other threads:[~2011-12-07 16:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-07 9:37 [PATCH] kvm tools: Allow the user to pass a FD to use as a TAP device Sasha Levin
2011-12-07 16:28 ` Pekka Enberg
2011-12-07 16:38 ` Daniel P. Berrange [this message]
2011-12-07 17:24 ` Pekka Enberg
2011-12-08 15:32 ` Osier Yang
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=20111207163847.GB10305@redhat.com \
--to=berrange@redhat.com \
--cc=asias.hejun@gmail.com \
--cc=gorcunov@gmail.com \
--cc=jyang@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=levinsasha928@gmail.com \
--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 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).