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

Michal Privoznik mprivozn at redhat.com
Thu Apr 13 14:09:43 UTC 2017


On 04/10/2017 09:35 PM, John Ferlan wrote:
> 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(-)
>

ACK

Michal




More information about the libvir-list mailing list