On Wed, Feb 20, 2013 at 1:56 PM, Doug Goldstein <cardoe@xxxxxxxxxx> wrote: > Refactor code, clean up error handling, and finally add bond support. The > last patch optionally supports a patch I submitted to the Linux kernel > which should go in for 3.9 (it was just accepted for net-next). > > After this patch when you have a bond device you'll get the following: > $ ./tools/virsh iface-dumpxml br0 > <interface type='bridge' name='br0'> > <mtu size='1500'/> > <bridge stp='on' delay='1499'> > <interface type='bond' name='bond0'> > <mtu size='1500'/> > <bond mode='balance-rr'> > <interface type='ethernet' name='eth2'> > <mac address='d0:67:e5:fa:88:95'/> > <mtu size='1500'/> > </interface> > <interface type='ethernet' name='eth3'> > <mac address='d0:67:e5:fa:88:95'/> > <mtu size='1500'/> > </interface> > </bond> > </interface> > <!-- incorrectly including guest tap devices, but was an issue > prior and will be fixed in a later series --> > </bridge> > </interface> > > Doug Goldstein (6): > interface: Refactor udev bridge to helper func > interface: udev bridge code error handling updates > interface: Refactor interface vlan to helper func > interface: Improve udev backend device type id > interface: add bond support to udev backend > interface: dev type support for bond interfaces > > src/interface/interface_backend_udev.c | 546 +++++++++++++++++++++++++++------ > 1 file changed, 451 insertions(+), 95 deletions(-) > > -- > 1.7.12.4 > Applied this series after review and feedback from Laine. Thanks. -- Doug Goldstein -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list