]> xenbits.xensource.com Git - libvirt.git/commit
Allow brAddTap to create a tap device that is down
authorLaine Stump <laine@laine.org>
Wed, 9 Feb 2011 06:20:39 +0000 (01:20 -0500)
committerLaine Stump <laine@laine.org>
Thu, 17 Feb 2011 18:36:22 +0000 (13:36 -0500)
commit13ae7a02b313b49fac90aed052fc7fc12d346400
treed2eb4733dab4bad0be15210b82e587180a469a83
parente9bd5c0e248aaa73db4d26ed4abf27acc6f93cc8
Allow brAddTap to create a tap device that is down

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
src/uml/uml_conf.c
src/util/bridge.c
src/util/bridge.h