]> xenbits.xensource.com Git - libvirt.git/commit
list: Use virConnectListAllNodeDevices in virsh
authorOsier Yang <jyang@redhat.com>
Mon, 17 Sep 2012 03:32:53 +0000 (11:32 +0800)
committerOsier Yang <jyang@redhat.com>
Mon, 17 Sep 2012 03:32:53 +0000 (11:32 +0800)
commitaa20e9757887bf7b5617ff6a2d60e815509a79a0
treeefe8c823f704452d72d372424b37a12f09b5350b
parentf5fb059a78b5af08d91397565040fadc9eb37876
list: Use virConnectListAllNodeDevices in virsh

tools/virsh-nodedev.c:
  * vshNodeDeviceSorter to sort node devices by name

  * vshNodeDeviceListFree to free the node device objects list.

  * vshNodeDeviceListCollect to collect the node device objects, trying
    to use new API first, fall back to older APIs if it's not supported.

  * Change option --cap to accept multiple capability types.

tools/virsh.pod
  * Update document for --cap
src/libvirt_private.syms
tools/virsh-nodedev.c
tools/virsh.pod