[libvirt] [PATCH] interfaces: Convert virInterfaceObjList to virObjectRWLockable
John Ferlan
jferlan at redhat.com
Fri Oct 13 11:39:13 UTC 2017
On 10/09/2017 07:17 PM, John Ferlan wrote:
> Rather than a forward linked list, let's use the ObjectRWLockable object
> in order to manage the data.
>
> Requires numerous changes from List to Object management similar to
> many other drivers/vir*obj.c modules
>
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>
> For some reason I thought I had already done this, but guess I hadn't,
> so figured I may as well. Uses the RWLockable too.
>
> Passed the avocado test suite too.
>
> src/conf/virinterfaceobj.c | 341 ++++++++++++++++++++++++++++++---------------
> src/libvirt_private.syms | 1 -
> src/test/test_driver.c | 6 +-
> 3 files changed, 229 insertions(+), 119 deletions(-)
>
Based the NACKing of the portion of the change that combines the various
ForEach callbacks - I SNACK this one a post an update with them separated.
John
More information about the libvir-list
mailing list