]> xenbits.xensource.com Git - libvirt.git/commit
qemu: blockstats: Refactor qemuDomainBlockStatsFlags
authorPeter Krempa <pkrempa@redhat.com>
Tue, 10 Mar 2015 15:52:08 +0000 (16:52 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 11 Mar 2015 10:28:04 +0000 (11:28 +0100)
commite045587dda7ed145e9f9692a69a17d655ec6628d
treebb96c6c7ec6e268f436c3c118ba00b0f26533a0b
parentcf093414c55101960725e32f7e48a95ec78d2f4e
qemu: blockstats: Refactor qemuDomainBlockStatsFlags

Now that qemuDomainBlocksStatsGather provides functions of both
qemuMonitorGetBlockStatsParamsNumber and qemuMonitorGetBlockStatsInfo we
can reuse it and kill a lot of code.

Additionally as a bonus qemuDomainBlockStatsFlags will now support
summary statistics so add a statement to the virsh man page about that.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1142636
src/qemu/qemu_driver.c
tools/virsh.pod