]> xenbits.xensource.com Git - libvirt.git/commit
qemu: blockstats: Add support for totalled block statistics
authorPeter Krempa <pkrempa@redhat.com>
Tue, 10 Mar 2015 14:54:17 +0000 (15:54 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 11 Mar 2015 10:28:04 +0000 (11:28 +0100)
commitcf093414c55101960725e32f7e48a95ec78d2f4e
treedb319c4edb2da23f702db7c19d994ed03d018864
parent79966411cd7af4d42a2abcf7c2f4ea0220efd7a9
qemu: blockstats: Add support for totalled block statistics

In the LXC driver, if the disk path is not provided the API returns
total statistics for all disks of the domain. With the new text monitor
implementation this can be now done in the qemu driver too.

Add code that wil total the stats for all disks if the path is not
provided.
src/qemu/qemu_driver.c