]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: reattach interface taps to correct bridge on restart
authorLaine Stump <laine@redhat.com>
Tue, 17 Sep 2019 00:08:00 +0000 (20:08 -0400)
committerLaine Stump <laine@redhat.com>
Fri, 20 Sep 2019 15:42:25 +0000 (11:42 -0400)
commitb22749334d4de3348ba9b0ec13359c3ecf8fefd8
tree04c5a6b389d0ca826b171850b23206536b7af8b2
parentd6aaa639e4a1fdab6004df5758c19aacbc1ac6e6
conf: reattach interface taps to correct bridge on restart

When the bridge re-attach handling was moved out of the network driver
and into the hypervisor driver (commit b806a60e) as a part of the
refactor to split the network driver into a separate daemon, the check
was accidentally changed to only check for type='bridge'. The check for
type in this case needs to check for type='network' as well.

(at the time we thought that the two types could be conflated for
interface actual type, but this turned out to be too problematic to
do).

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/conf/domain_conf.c