Re: [libvirt] [PATCH v5 2/3] nwfilter: Convert _virNWFilterObjList to use virObjectRWLockable

2018-02-15 Thread Stefan Berger
On 02/12/2018 04:38 AM, Michal Privoznik wrote: On 02/09/2018 12:47 PM, Stefan Berger wrote: On 02/09/2018 01:48 AM, Michal Privoznik wrote: On 02/08/2018 10:13 PM, Stefan Berger wrote: On 02/08/2018 08:13 AM, Michal Privoznik wrote: On 02/06/2018 08:20 PM, John Ferlan wrote: Implement the s

Re: [libvirt] [PATCH v5 2/3] nwfilter: Convert _virNWFilterObjList to use virObjectRWLockable

2018-02-12 Thread Michal Privoznik
On 02/08/2018 02:34 PM, John Ferlan wrote: > > > On 02/08/2018 08:13 AM, Michal Privoznik wrote: >> On 02/06/2018 08:20 PM, John Ferlan wrote: >>> Implement the self locking object list for nwfilter object lists >>> that uses two hash tables to store the nwfilter object by UUID or >>> by Name. >>

Re: [libvirt] [PATCH v5 2/3] nwfilter: Convert _virNWFilterObjList to use virObjectRWLockable

2018-02-12 Thread Michal Privoznik
On 02/09/2018 12:47 PM, Stefan Berger wrote: > On 02/09/2018 01:48 AM, Michal Privoznik wrote: >> On 02/08/2018 10:13 PM, Stefan Berger wrote: >>> On 02/08/2018 08:13 AM, Michal Privoznik wrote: On 02/06/2018 08:20 PM, John Ferlan wrote: > Implement the self locking object list for nwfilte

Re: [libvirt] [PATCH v5 2/3] nwfilter: Convert _virNWFilterObjList to use virObjectRWLockable

2018-02-09 Thread Stefan Berger
On 02/09/2018 01:48 AM, Michal Privoznik wrote: On 02/08/2018 10:13 PM, Stefan Berger wrote: On 02/08/2018 08:13 AM, Michal Privoznik wrote: On 02/06/2018 08:20 PM, John Ferlan wrote: Implement the self locking object list for nwfilter object lists that uses two hash tables to store the nwfilt

Re: [libvirt] [PATCH v5 2/3] nwfilter: Convert _virNWFilterObjList to use virObjectRWLockable

2018-02-08 Thread Michal Privoznik
On 02/08/2018 10:13 PM, Stefan Berger wrote: > On 02/08/2018 08:13 AM, Michal Privoznik wrote: >> On 02/06/2018 08:20 PM, John Ferlan wrote: >>> Implement the self locking object list for nwfilter object lists >>> that uses two hash tables to store the nwfilter object by UUID or >>> by Name. >>> >>

Re: [libvirt] [PATCH v5 2/3] nwfilter: Convert _virNWFilterObjList to use virObjectRWLockable

2018-02-08 Thread Stefan Berger
On 02/08/2018 08:13 AM, Michal Privoznik wrote: On 02/06/2018 08:20 PM, John Ferlan wrote: Implement the self locking object list for nwfilter object lists that uses two hash tables to store the nwfilter object by UUID or by Name. As part of this alter the uuid argument to virNWFilterObjLookupB

Re: [libvirt] [PATCH v5 2/3] nwfilter: Convert _virNWFilterObjList to use virObjectRWLockable

2018-02-08 Thread John Ferlan
On 02/08/2018 08:13 AM, Michal Privoznik wrote: > On 02/06/2018 08:20 PM, John Ferlan wrote: >> Implement the self locking object list for nwfilter object lists >> that uses two hash tables to store the nwfilter object by UUID or >> by Name. >> >> As part of this alter the uuid argument to virNWF

Re: [libvirt] [PATCH v5 2/3] nwfilter: Convert _virNWFilterObjList to use virObjectRWLockable

2018-02-08 Thread Michal Privoznik
On 02/06/2018 08:20 PM, John Ferlan wrote: > Implement the self locking object list for nwfilter object lists > that uses two hash tables to store the nwfilter object by UUID or > by Name. > > As part of this alter the uuid argument to virNWFilterObjLookupByUUID > to expect an already formatted uu

[libvirt] [PATCH v5 2/3] nwfilter: Convert _virNWFilterObjList to use virObjectRWLockable

2018-02-06 Thread John Ferlan
Implement the self locking object list for nwfilter object lists that uses two hash tables to store the nwfilter object by UUID or by Name. As part of this alter the uuid argument to virNWFilterObjLookupByUUID to expect an already formatted uuidstr. Alter the existing list traversal code to imple