]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
interface: don't error out if a bond has no interfaces
authorLubomir Rintel <lkundrak@v3.sk>
Wed, 27 May 2015 17:30:50 +0000 (19:30 +0200)
committerLaine Stump <laine@laine.org>
Wed, 27 May 2015 18:25:45 +0000 (14:25 -0400)
commitefc68de5cd70d62b1941a707d22299422f1962f9
tree81894eacaa5ebf93684c49be686b33ff10a01c41
parentceab3979deca133cadf91150983b0153510de308
interface: don't error out if a bond has no interfaces

It's not a problem at all and causes virt-manager to break down.

Note: netcf 0.2.8 and earlier generates invalid XML for a bond with no
interfaces anyway, so in that case this error in libvirt is never
reached since we fail earlier.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
src/conf/interface_conf.c