]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu-blockjob: Fix limit of bandwidth for block jobs to supported value
authorPeter Krempa <pkrempa@redhat.com>
Wed, 3 Apr 2013 08:36:03 +0000 (10:36 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 3 Apr 2013 14:38:51 +0000 (16:38 +0200)
commit24ca8fae64d6088cb10a424c4bc6a7eb16ddeb26
tree4bea14527066a108f28677de8cdc2661db58f101
parentad5298e1770a971e432c68f72f1a7bf867da02fa
qemu-blockjob: Fix limit of bandwidth for block jobs to supported value

The JSON generator is able to represent only values less than LLONG_MAX, fix the
bandwidth limit checks when converting to value to catch overflows before they
reach the generator.
src/qemu/qemu_monitor.c