]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: blockCopy: Pass adjusted bandwidth when called via blockRebase
authorPeter Krempa <pkrempa@redhat.com>
Mon, 30 Mar 2015 15:34:13 +0000 (17:34 +0200)
committerCole Robinson <crobinso@redhat.com>
Tue, 28 Apr 2015 15:07:10 +0000 (11:07 -0400)
commitfd270808482acbf091bdaf3520565f13a9a2b390
treee203c7e2d7e3991308f9486c90593b3c09b4f46f
parent4fdd4d20897dff2606cf7a584633c92347624f17
qemu: blockCopy: Pass adjusted bandwidth when called via blockRebase

The block copy API takes the speed in bytes/s rather than MiB/s that was
the prior approach in virDomainBlockRebase. We correctly converted the
speed to bytes/s in the old API but we still called the common helper
virDomainBlockCopyCommon with the unadjusted variable.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1207122
(cherry picked from commit 3c6a72d5376732efd8effb4a0a419211c0eb0659)
src/qemu/qemu_driver.c