]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
list: Add helpers for listing node devices
authorOsier Yang <jyang@redhat.com>
Wed, 5 Sep 2012 05:34:09 +0000 (13:34 +0800)
committerOsier Yang <jyang@redhat.com>
Mon, 17 Sep 2012 02:38:18 +0000 (10:38 +0800)
commit324bf8bfdc2c74542f51dc7e9bace38638092e3e
treee0618b5f56af974fcd0ba7461ae42c64b68703a4
parent4230b6c1026142ef1b78e181064b8fe4db1228ae
list: Add helpers for listing node devices

src/conf/node_device_conf.h:
  * New macro VIR_CONNECT_LIST_NODE_DEVICES_FILTERS_CAP
  * Declare virNodeDeviceList

src/conf/node_device_conf.c:
  * New helpers virNodeDeviceCapMatch, virNodeDeviceMatch.
    virNodeDeviceCapMatch looks up the list of all the caps the device
    support, to see if the device support the cap type.
  * Implement virNodeDeviceList

src/libvirt_private.syms:
  * Export virNodeDeviceList
  * Export virNodeDevCapTypeFromString
src/conf/node_device_conf.c
src/conf/node_device_conf.h
src/libvirt_private.syms