[libvirt] [PATCH 2/2] qemu-blockjob: Fix limit of bandwidth for block jobs to supported value
Peter Krempa
pkrempa at redhat.com
Wed Apr 3 14:39:30 UTC 2013
On 04/03/13 15:32, Eric Blake wrote:
> On 04/03/2013 02:46 AM, Peter Krempa wrote:
>> 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 parser.
>> ---
>> src/qemu/qemu_monitor.c | 21 ++++++++++++---------
>> 1 file changed, 12 insertions(+), 9 deletions(-)
>
> ACK. This one is safe in isolation, even if we drop 1/2.
>
I pushed this one.
Thanks for the review.
Peter
More information about the libvir-list
mailing list