]> xenbits.xensource.com Git - libvirt.git/commit
nodedev: Introduce virNodeDeviceObjGetNames
authorJohn Ferlan <jferlan@redhat.com>
Sun, 19 Mar 2017 19:51:03 +0000 (15:51 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 10 Apr 2017 11:36:23 +0000 (07:36 -0400)
commitd06d1a329db1edd8f7851c4e2ed855053a5802ce
tree1b10a8f6e8db1d09a1427e59e502a17c27681155
parentbe3c2dfd1a2310ed7725c4f4bb009d94863fed07
nodedev: Introduce virNodeDeviceObjGetNames

Unify the *ListDevice API into virnodedeviceobj.c from node_device_driver
and test_driver.  The only real difference between the two is that the test
driver doesn't call the aclfilter API. The name of the new API follows that
of other drivers to "GetNames".

NB: Change some variable names to match what they really are - consistency
with other drivers. Also added a clear of the input names.

This also allows virNodeDeviceObjHasCap to be static to virnodedeviceobj

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/conf/virnodedeviceobj.c
src/conf/virnodedeviceobj.h
src/libvirt_private.syms
src/node_device/node_device_driver.c
src/test/test_driver.c