]> xenbits.xensource.com Git - libvirt.git/commit
qemu: monitor: Fix incrementing of 'nstats' in qemuMonitorJSONBlockStatsCollectData
authorPeter Krempa <pkrempa@redhat.com>
Wed, 1 Aug 2018 07:15:22 +0000 (09:15 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 1 Aug 2018 07:15:22 +0000 (09:15 +0200)
commit78f47a6395c0f71ca47fb5e328052db054508ddf
tree204207057e767e379bc1392493556dd0013f29bb
parentce3c6ef6843f98d81be5423ece11fad79eaab920
qemu: monitor: Fix incrementing of 'nstats' in qemuMonitorJSONBlockStatsCollectData

commit 8d9ca6cdb3a5 refactored qemuMonitorJSONBlockStatsCollectData so
that the number of stats is passed back via a pointer. The commit failed
to fix the macro which increments the number of stats to increment the
actual pointee.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_monitor_json.c