The JSON generator and qemu QMP protocol limit numeric values to LLONG_MAX even
for unsigned values. A bug in the code caused numeric overflow when passing
through speed parameters to qemu block job commands.
Background:
https://bugzilla.redhat.com/show_bug.cgi?id=927156
Peter Krempa (2):
qemu-JSON: Error out if number is out of range instead of overflowing
to negative
qemu-blockjob: Fix limit of bandwidth for block jobs to supported
value
src/qemu/qemu_monitor.c | 21 ++++++++++++---------
src/qemu/qemu_monitor_json.c | 10 ++++++++--
2 files changed, 20 insertions(+), 11 deletions(-)
--
1.8.1.5