[libvirt] [PATCH] qemu: Don't overwrite stats in qemuDomainBlocksStatsGather

Ján Tomko jtomko at redhat.com
Mon Sep 3 15:00:01 UTC 2018


On Thu, Aug 30, 2018 at 05:28:35PM +0200, Peter Krempa wrote:
>The size/capacity stats gathered in qemuDomainBlocksStatsGather when
>using -blockdev would be overwritten by assigning/copying the transfered
>data statistics at the end. Fix it by moving the assignment prior to
>fetching the capacity data.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_driver.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180903/395df400/attachment-0001.sig>


More information about the libvir-list mailing list