]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: save network status when firewall rules are reloaded
authorLaine Stump <laine@redhat.com>
Sat, 20 Apr 2024 02:19:42 +0000 (22:19 -0400)
committerLaine Stump <laine@redhat.com>
Thu, 23 May 2024 03:20:07 +0000 (23:20 -0400)
commit110383fa30ddd4e19d32d14d19fa42b45efeb67f
tree6a7fe6ade48f37af3c5ae3f2cc27cc31f64e3481
parent97061d576b46ca3ae8c25de387e36b4c9b65ee2c
network: save network status when firewall rules are reloaded

In the case that a new version of libvirt is started that uses
different rules to build the network firewall, we need to re-save the
status so that when the network is destroyed (or the *next* time
libvirt is restarted and wants to remove/re-add the firewall), it will
have the proper information to perform the firewall removal.

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