Re: [PATCH] qemu: monitor: Improve error message when QEMU reply is too large

2020-01-20 Thread Jiri Denemark
On Mon, Jan 20, 2020 at 16:11:49 +0100, Peter Krempa wrote: > Don't use ERANGE as it doesn't make much sense in the error message. > Also point out that the reply from qemu was too large which is not > obvious from the original error: > > error: No complete monitor response found in 10485760 byte

[PATCH] qemu: monitor: Improve error message when QEMU reply is too large

2020-01-20 Thread Peter Krempa
Don't use ERANGE as it doesn't make much sense in the error message. Also point out that the reply from qemu was too large which is not obvious from the original error: error: No complete monitor response found in 10485760 bytes: Numerical result out of range The new message will read: error: