[PATCH 0/2] fix re-attach of bridge device for <interface type='bridge'>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For a long time I thought this worked, but during discussion in a
bugzilla report one day I realized it only worked properly for
<interface type='network'> - we're not even trying to reattach bridges
during libvirtd restart for type='bridge' (i.e. no associated libvirt
network).

These two patches together fix that problem.

Laine Stump (2):
  call virDomainNetNotifyActualDevice() for all interface types
  use g_autoptr for (almost) all virConnectPtrs used with
    virGetConnectNetwork()

 src/conf/domain_conf.c   |  3 +--
 src/libxl/libxl_driver.c | 24 +++++++++---------------
 src/lxc/lxc_driver.c     | 17 +++++------------
 src/lxc/lxc_process.c    | 19 +++++++------------
 src/qemu/qemu_process.c  |  9 ++++-----
 5 files changed, 26 insertions(+), 46 deletions(-)

-- 
2.29.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux