libvirt/src/nwfilter
Nikolay Shirokovskiy 67125e0d33 nwfilter: Instantiate active filter bindings during driver init
Commit 57f5621f modified nwfilterInstantiateFilter to detect when
a filter binding was already present before attempting to add the
new binding and instantiate it. Additionally, the change to
nwfilterStateInitialize to call virNWFilterBindingObjListLoadAllConfigs
(from commit c21679fa3f) to load active domain filter bindings, but
not instantiate them eventually leads to a problem for the QEMU
driver reconnection logic after a daemon restart where the filter
bindings would no longer be instantiated.

Subsequent commit f14c37ce4c replaced the nwfilterInstantiateFilter
with virDomainConfNWFilterInstantiate which uses @ignoreExists to
detect presence of the filter and still did not restore the filter
instantiation call when making the new nwfilter bindings logic active.

Thus in order to instantiate any active domain filter, we will call
virNWFilterBuildAll with 'false' to indicate the need to go through
all the active bindings calling virNWFilterInstantiateFilter to
instantiate the filter bindings.

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
2018-11-05 07:10:47 -05:00
..
Makefile.inc.am make: split nwfilter driver build rules into nwfilter/Makefile.inc.am 2018-03-05 17:09:08 +00:00
nwfilter_dhcpsnoop.c nwfilter: Alter virNWFilterSnoopReqLeaseDel logic 2018-10-01 14:27:47 -04:00
nwfilter_dhcpsnoop.h nwfilter: convert DHCP address snooping code to virNWFilterBindingDefPtr 2018-06-26 11:22:07 +01:00
nwfilter_driver.c nwfilter: Instantiate active filter bindings during driver init 2018-11-05 07:10:47 -05:00
nwfilter_driver.h nwfilter: remove obsolete code related to firewalld 2018-05-03 17:00:57 +01:00
nwfilter_ebiptables_driver.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
nwfilter_ebiptables_driver.h
nwfilter_gentech_driver.c nwfilter: convert virt drivers to use public API for nwfilter bindings 2018-06-26 18:17:23 +01:00
nwfilter_gentech_driver.h nwfilter: convert virt drivers to use public API for nwfilter bindings 2018-06-26 18:17:23 +01:00
nwfilter_learnipaddr.c nwfilter: Fix learning address thread shutdown 2018-10-17 17:06:04 -04:00
nwfilter_learnipaddr.h nwfilter: convert IP address learning code to virNWFilterBindingDefPtr 2018-06-26 11:22:07 +01:00
nwfilter_tech_driver.h nwfilter: remove virNWFilterHashTable typedefs entirely 2018-05-03 17:00:57 +01:00