]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Fix indexes in statistics of iothreads
authorPeter Krempa <pkrempa@redhat.com>
Fri, 29 Nov 2019 08:11:15 +0000 (09:11 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 29 Nov 2019 13:51:47 +0000 (14:51 +0100)
commit21986f5047ba0e4d11268e2fcd9756ddabc78705
tree0500d7e96f9d3094ea7e11f4e7f836e1a4073281
parent06f5f60e9a3951d06ef2e6815545d25d97cb623e
qemu: Fix indexes in statistics of iothreads

In commit 2ccb5335dc4 I've refactored how we fill the typed parameters
for domain statistics. The commit introduced a regression in the
formating of stats for IOthreads by using the array index to label the
entries as it's common for all other types of statistics rather than
the iothread IDs used for iothreads.

Since only the design of iothread deviates from the common approach used
in all other statistic types this was not caught.

https://bugzilla.redhat.com/show_bug.cgi?id=1778014

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_driver.c