Kevin Wolf 1ef7d9d368 blockjob: Fix error message for negative speed
The error message for a negative speed uses QERR_INVALID_PARAMETER,
which implies that the 'speed' option doesn't even exist:

    {"error": {"class": "GenericError", "desc": "Invalid parameter 'speed'"}}

Make it use QERR_INVALID_PARAMETER_VALUE instead:

    {"error": {"class": "GenericError", "desc": "Parameter 'speed' expects a non-negative value"}}

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
2019-12-18 11:21:07 +01:00
..
2019-12-17 14:34:31 +00:00
2019-11-11 13:02:30 +01:00
2019-12-17 09:05:23 +01:00
2019-12-17 09:05:23 +01:00
2019-10-26 15:38:02 +02:00
2019-12-17 09:05:23 +01:00
2019-10-04 18:49:18 +02:00
2019-12-17 09:05:23 +01:00
2019-12-17 09:05:23 +01:00