On 09/02/2014 06:31 AM, Francesco Romani wrote: > This patch adds the reporting of the highest > block stats written to the block stats. > > This information was already there since the > beginning, and doing so we gain the information > provided by GetBlockInfo without entering the > monitor again. > > Signed-off-by: Francesco Romani <[email protected]> > --- > src/qemu/qemu_monitor.h | 1 + > src/qemu/qemu_monitor_json.c | 7 +++++++ > 2 files changed, 8 insertions(+) >
> +++ b/src/qemu/qemu_monitor_json.c
> @@ -1880,6 +1880,13 @@ int qemuMonitorJSONGetAllBlockStatsInfo(qemuMonitorPtr
> mon,
> "flush_total_time_ns");
> goto cleanup;
> }
> + if (virJSONValueObjectGetNumberUlong(stats, "wr_highest_offset",
> &blockstats->wr_highest_offset) < 0) {
Long line; wrap at 80 columns.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/libvir-list
