]> xenbits.xensource.com Git - libvirt.git/commit
latency: Update virsh command domblkstat to use new API
authorOsier Yang <jyang@redhat.com>
Mon, 5 Sep 2011 08:24:51 +0000 (16:24 +0800)
committerOsier Yang <jyang@redhat.com>
Tue, 6 Sep 2011 04:03:05 +0000 (12:03 +0800)
commitffe28ab74b821c916ec4ba8efb5c992454e4bd24
tree3d8b35fafce5eea073ba0d483c3412deeddcb25d
parentf4c331a7444f46b12c9d12c3a3790dc4a28833b4
latency: Update virsh command domblkstat to use new API

The modified function fallbacks to use virDomainBlockStats if
virDomainBlockStatsFlags is not supported by the hypervisor driver.
If the new API is supported, it will be invoked instead of the
old API.
tools/virsh.c