[libvirt] [PATCH] qemu: Avoid overflow when setting migration speed

Eric Blake eblake at redhat.com
Fri Apr 11 14:31:51 UTC 2014


On 04/11/2014 04:52 AM, Jiri Denemark wrote:
> When passing migration bandwidth to QEMU, we multiply it by 1024 * 1024
> to convert the speed to B/s and the result still needs to fit in
> int64_t.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1083483
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu_monitor.c | 7 +++++++
>  1 file changed, 7 insertions(+)

ACK

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140411/576d61cb/attachment-0001.sig>


More information about the libvir-list mailing list