]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/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)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 30 Mar 2015 15:34:13 +0000 (17:34 +0200)
commit3c6a72d5376732efd8effb4a0a419211c0eb0659
tree05a3b979f4b3be406484560fc25de6e3c0a0cead
parent390f218b83513a00b81549eb66854d8b263cb014
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
src/qemu/qemu_driver.c