On 17.12.19 16:04, Kevin Wolf wrote:
> 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 <[email protected]>
> Reviewed-by: Alberto Garcia <[email protected]>
> ---
>
> v2:
> - Update reference output for 030 [Max]
>
> blockjob.c | 3 ++-
> tests/qemu-iotests/030 | 4 ++--
> 2 files changed, 4 insertions(+), 3 deletions(-)Reviewed-by: Max Reitz <[email protected]>
signature.asc
Description: OpenPGP digital signature
