]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainGetStatsBlock: Don't directly access virTypedParamList
authorPeter Krempa <pkrempa@redhat.com>
Tue, 18 Apr 2023 13:33:24 +0000 (15:33 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 May 2023 12:32:46 +0000 (14:32 +0200)
commit8ea33c8c18e4bf17b61585131a810e0d68a425cc
tree607a837b0f708e860395221dc27fad2e444d111b
parente3dff704bf6b94c5e1c44dcc8e08a935fa0a9c5f
qemuDomainGetStatsBlock: Don't directly access virTypedParamList

The struct will be made private in upcoming patches. Construct the list
of block entries into a separate list and append them rather than
remember the index of the count element.

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