[libvirt] [PATCH 1/2] Allow brAddTap to create a tap device that is down

Daniel P. Berrange berrange at redhat.com
Wed Feb 9 13:38:43 UTC 2011


On Wed, Feb 09, 2011 at 04:53:31AM -0500, Laine Stump wrote:
> An upcoming patch has a use for a tap device to be created that
> doesn't need to be actually put into the "up" state, and keeping it
> "down" keeps the output of ifconfig from being unnecessarily cluttered
> (ifconfig won't show down interfaces unless you add "-a").
> 
> bridge.[ch]: add "up" as an arg to brAddTap()
> uml_conf.c, qemu_command.c: add "up" (set to "true") to brAddTap() call.
> ---
>  src/qemu/qemu_command.c |    1 +
>  src/uml/uml_conf.c      |    1 +
>  src/util/bridge.c       |    3 ++-
>  src/util/bridge.h       |    1 +
>  4 files changed, 5 insertions(+), 1 deletions(-)

ACK

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 :|




More information about the libvir-list mailing list