]> git.ipfire.org Git - thirdparty/libvirt.git/commit
call virDomainNetNotifyActualDevice() for all interface types
authorLaine Stump <laine@redhat.com>
Fri, 8 Jan 2021 05:36:31 +0000 (00:36 -0500)
committerLaine Stump <laine@redhat.com>
Fri, 8 Jan 2021 16:34:49 +0000 (11:34 -0500)
commitc2b2cdf74659bf13970b8dc8a2db1dd888ac7822
treeba212220390817b49388e9edcdd4a1f92c28c010
parentdad50cf855d26f35c44ab0eceb6436c6d6a17e06
call virDomainNetNotifyActualDevice() for all interface types

Now that this function can be called regardless of interface type (and
whether or not we have a conn for the network driver), let's actually
call it for all interface types. This will assure that we re-connect
any disconnected bridge devices for <interface type='bridge'> as
mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1730084#c26
(until now we've only been reconnecting bridge devices for <interface
type='network'>)

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/libxl/libxl_driver.c
src/lxc/lxc_process.c
src/qemu/qemu_process.c