[libvirt] [PATCH v4 12/14] nodedev: Convert virNodeDeviceObj to use virObjectLockable
John Ferlan
jferlan at redhat.com
Mon Jul 10 16:13:46 UTC 2017
On 07/10/2017 11:43 AM, Erik Skultety wrote:
> On Mon, Jul 03, 2017 at 05:25:28PM -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 also involves creating a virNodeDeviceEndAPI in order to handle
>> the object cleaup for API's that use the Add or Find API's in order
>> to get a locked/reffed object. The EndAPI will unlock and unref the
>> object returning NULL to indicate to the caller to not use the obj.
>>
>> For now this also involves a forward reference to the Unlock, but
>> that'll be removed shortly when the object is convert to use the
>> virObjectLockable shortly.
>
> Which hunk is ^this paragraph still relevant for?
>
> Erik
>
Changes that are no longer relevant... I will remove it.
John
More information about the libvir-list
mailing list