]> xenbits.xensource.com Git - libvirt.git/commit
nwfilter: Force instantiation of filters upon driver reload
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 27 Jan 2012 13:19:58 +0000 (08:19 -0500)
committerStefan Berger <stefanb@us.ibm.com>
Fri, 27 Jan 2012 13:19:58 +0000 (08:19 -0500)
commit8fa78dd49cff5093a266343bd4d61542f50fa7d4
tree4dedc8f3a7162ff134d5f1f248436492c1ba2fd8
parent65c27e29358a7af3c29a545d2434e2d6f463a51a
nwfilter: Force instantiation of filters upon driver reload

Introduce a function that rebuilds all running VMs' filters. Call
this function when reloading the nwfilter driver.

This addresses a problem introduced by the 2nd patch that typically
causes no filters to be reinstantiate anymore upon driver reload
since their XML has not changed. Yet the current behavior is that
upon a SIGHUP all filters get reinstantiated.
src/conf/nwfilter_conf.c
src/conf/nwfilter_conf.h
src/libvirt_private.syms
src/nwfilter/nwfilter_driver.c
src/nwfilter/nwfilter_gentech_driver.c