]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nodedev: Introduce virNodeDeviceObjNew
authorJohn Ferlan <jferlan@redhat.com>
Fri, 12 May 2017 17:34:23 +0000 (13:34 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 17 Jul 2017 14:40:24 +0000 (10:40 -0400)
commit65981c85964b1cddb61376624a168d05c43bd1f4
treed7dc757d089b455b92e886355aa9d83d7dc24bd6
parentaa6e856b95c1032b396392ddd35f7947343907fd
nodedev: Introduce virNodeDeviceObjNew

Create an allocator for the virNodeDeviceObjPtr - include setting up
the mutex, saving the virNodeDeviceDefPtr, and locking the return object.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/conf/virnodedeviceobj.c