]> xenbits.xensource.com Git - libvirt.git/commit
interface: Convert virInterfaceObj to use virObjectLockable
authorJohn Ferlan <jferlan@redhat.com>
Mon, 15 May 2017 18:31:44 +0000 (14:31 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 6 Jun 2017 16:05:00 +0000 (12:05 -0400)
commit46f5eca4b2d2e5685cd334f8351a1e62dce261ee
tree7de7cb9fa1d7cc4cec5a2cbbbed7ad4b73bcbeb4
parent92840eb3a7e47cdf761e52afccc41d2a35327fbd
interface: Convert virInterfaceObj to use virObjectLockable

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@redhat.com>
po/POTFILES.in
src/conf/virinterfaceobj.c
src/conf/virinterfaceobj.h
src/libvirt_private.syms
src/test/test_driver.c