]> xenbits.xensource.com Git - libvirt.git/commit
bridge: modify for use when sVirt is enabled with qemu
authorTyler Coumbes <coumbes@gmail.com>
Mon, 24 Oct 2011 23:43:47 +0000 (18:43 -0500)
committerEric Blake <eblake@redhat.com>
Fri, 28 Oct 2011 02:28:39 +0000 (20:28 -0600)
commit279084537fd4336e82c2d9145ae4fda9eb461226
tree3c78469e1208b89c465bd4042d599885497424a5
parentc0d9dfe2a1a567299b6fd12acd6913f6a0dc86c7
bridge: modify for use when sVirt is enabled with qemu

This refactors the TAP creation code out of brAddTap into a new
function brCreateTap to allow it to be used on its own. I have also
changed ifSetInterfaceMac to brSetInterfaceMac and exported it since
it is will be needed by code outside of util/bridge.c in the next
patch.

 AUTHORS                 |    1 +
 src/libvirt_bridge.syms |    2 +
 src/util/bridge.c       |  116 +++++++++++++++++++++++++++++++----------------
 src/util/bridge.h       |    9 ++++
 4 files changed, 89 insertions(+), 39 deletions(-)
AUTHORS
src/libvirt_bridge.syms
src/util/bridge.c
src/util/bridge.h