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

2018-09-03 Thread Ján Tomko
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

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

2018-08-30 Thread Peter Krempa
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 --- src/qemu/qemu_driver.c |