On 09/02/2011 04:10 AM, Daniel Veillard wrote:
On Wed, Aug 31, 2011 at 04:26:08PM +0800, Osier Yang wrote:
> ---
> src/libvirt.c | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 files changed, 69 insertions(+), 0 deletions(-)
>
> + *
> + * Domains may have more than one block device. To get stats for
> + * each you should make multiple calls to this function.
Also mention that different blocks within the same domain may have a
different number of stats - that is, @nparams that is sufficient for one
block might not grab all the available stats of another block, so it
must be recomputed for each block.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org