[libvirt] [PATCH v3 1/2] nwfilter: Force instantiation of filters upon driver reload

Eric Blake eblake at redhat.com
Wed Jan 25 20:29:25 UTC 2012


On 01/25/2012 11:58 AM, Stefan Berger wrote:
> 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               |   23 +++++++++++++++++++++++
>  src/conf/nwfilter_conf.h               |    3 +++
>  src/libvirt_private.syms               |    1 +
>  src/nwfilter/nwfilter_driver.c         |    2 ++
>  src/nwfilter/nwfilter_gentech_driver.c |   12 +++++++++++-
>  5 files changed, 40 insertions(+), 1 deletion(-)
> 

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120125/cfd402aa/attachment-0001.sig>


More information about the libvir-list mailing list