]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: always use virDomainNetGetActualBridgeName to get interface's bridge
authorLaine Stump <laine@laine.org>
Fri, 21 Nov 2014 20:08:50 +0000 (15:08 -0500)
committerLaine Stump <laine@laine.org>
Mon, 8 Dec 2014 19:52:17 +0000 (14:52 -0500)
commitb0fbe7459b9fa48ca32b6a15bcc45bc83770e0ae
treecd1d197c2237ee84a045c1e81162c0ffc4e8e39e
parent4aae2ed6fb839a62abff356f36b2700484606e01
lxc: always use virDomainNetGetActualBridgeName to get interface's bridge

lxcProcessSetupInterfaces() used to have a special case for
actualType='network' (a network with forward mode of route, nat, or
isolated) to call the libvirt public API to retrieve the bridge being
used by a network. That is no longer necessary - since all network
types that use a bridge and tap device now get the bridge name stored
in the ActualNetDef, we can just always use
virDomainNetGetActualBridgeName() instead.
src/lxc/lxc_driver.c
src/lxc/lxc_process.c