Re: [PATCH] kvm tools: Allow the user to pass a FD to use as a TAP device

2011-12-08 Thread Osier Yang
On 2011年12月08日 01:24, Pekka Enberg wrote: On Wed, 7 Dec 2011, Daniel P. Berrange wrote: On Wed, Dec 07, 2011 at 06:28:12PM +0200, Pekka Enberg wrote: On Wed, Dec 7, 2011 at 11:37 AM, Sasha Levin wrote: This allows users to pass a pre-configured fd to use for the network interface. For examp

Re: [PATCH] kvm tools: Allow the user to pass a FD to use as a TAP device

2011-12-07 Thread Pekka Enberg
On Wed, 7 Dec 2011, Daniel P. Berrange wrote: On Wed, Dec 07, 2011 at 06:28:12PM +0200, Pekka Enberg wrote: On Wed, Dec 7, 2011 at 11:37 AM, Sasha Levin 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

Re: [PATCH] kvm tools: Allow the user to pass a FD to use as a TAP device

2011-12-07 Thread Daniel P. Berrange
On Wed, Dec 07, 2011 at 06:28:12PM +0200, Pekka Enberg wrote: > On Wed, Dec 7, 2011 at 11:37 AM, Sasha Levin 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

Re: [PATCH] kvm tools: Allow the user to pass a FD to use as a TAP device

2011-12-07 Thread Pekka Enberg
On Wed, Dec 7, 2011 at 11:37 AM, Sasha Levin 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 > Cc: Osier Yang > Signed-off-by: Sasha Levin Daniel, Osier, I

[PATCH] kvm tools: Allow the user to pass a FD to use as a TAP device

2011-12-07 Thread Sasha Levin
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 Cc: Osier Yang Signed-off-by: Sasha Levin --- tools/kvm/builtin-run.c|2 ++ tools/kvm/include/kvm/virtio-net.h