• S
    nwfilter: fix loadable module support · cab5a52a
    Stefan Berger 提交于
    Following Daniel Berrange's multiple helpful suggestions for improving
    this patch and introducing another driver interface, I now wrote the
    below patch where the nwfilter driver registers the functions to
    instantiate and teardown the nwfilters with a function in
    conf/domain_nwfilter.c called virDomainConfNWFilterRegister. Previous
    helper functions that were called from qemu_driver.c and qemu_conf.c
    were move into conf/domain_nwfilter.h with slight renaming done for
    consistency. Those functions now call the function expored by
    domain_nwfilter.c, which in turn call the functions of the new driver
    interface, if available.
    cab5a52a
domain_nwfilter.c 1.8 KB