[libvirt] [PATCH v2 0/3] nwfilter: Create common virNWFilterObj* APIs

John Ferlan jferlan at redhat.com
Mon Apr 10 19:35:41 UTC 2017


v1: https://www.redhat.com/archives/libvir-list/2017-April/msg00299.html

Effectively move code from nwfilter_driver.c into virnwfiltereobj to
count the number of devices, to return a list of names, and to return
an array of filters.

FWIW: This is part of the common driver objects code I've been working
through. I figured I will post each driver separately rather than one
larger series.


v2: Differences:

 - Remove memset() from *GetName
 - Change "if (aclfilter && aclfilter())" to "if (!aclfilter || aclfilter())"

John Ferlan (3):
  nwfilter: Introduce virNWFilterObjNumOfNWFilters
  nwfilter: Introduce virNWFilterObjGetNames
  nwfilter: Introduce virNWFilterObjListExport

 src/conf/virnwfilterobj.c      | 103 +++++++++++++++++++++++++++++++++++++++++
 src/conf/virnwfilterobj.h      |  22 +++++++++
 src/libvirt_private.syms       |   3 ++
 src/nwfilter/nwfilter_driver.c |  86 +++++-----------------------------
 4 files changed, 139 insertions(+), 75 deletions(-)

-- 
2.9.3




More information about the libvir-list mailing list