Re: [PATCH v4 3/3] interface: Convert virInterfaceObj to use virObjectLockable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 03, 2017 at 06:53:23AM -0400, John Ferlan wrote:
> Now that we have a bit more control, let's convert our object into
> a lockable object and let that magic handle the create and lock/unlock.
>
> This commit also introduces virInterfaceObjEndAPI in order to handle the
> lock unlock and object unref in one call for consumers returning a NULL
> obj upon return. This removes the need for virInterfaceObj{Lock|Unlock}
> external API's.
>
> Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
> ---
>  po/POTFILES.in             |   1 -
>  src/conf/virinterfaceobj.c | 106 ++++++++++++++++++++++++---------------------
>  src/conf/virinterfaceobj.h |   9 ++--
>  src/libvirt_private.syms   |   3 +-
>  src/test/test_driver.c     |  16 +++----
>  5 files changed, 68 insertions(+), 67 deletions(-)
>

ACK.
Erik

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux