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@xxxxxxxxx> 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@xxxxxxxxxx> > > Cc: Osier Yang <jyang@xxxxxxxxxx> > > Signed-off-by: Sasha Levin <levinsasha928@xxxxxxxxx> > > 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 :| -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html