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 bytes: Numerical result out of
range
The new message will read:
error: internal error: QEMU monitor reply exceeds buffer size (10485760 bytes)
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_monitor.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Jiri Denemark <jdenemar(a)redhat.com>