Files
qemu/tests
Marc-André Lureau 1382d4abdf qapi: return a 'missing parameter' error
The 'old' dispatch code returned a QERR_MISSING_PARAMETER for missing
parameters, but the qapi qmp_dispatch() code uses
QERR_INVALID_PARAMETER_TYPE.

Improve qapi code to return QERR_MISSING_PARAMETER where
appropriate.

Fix expected error message in iotests.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20160930095948.3154-4-marcandre.lureau@redhat.com>
[Drop incorrect error_setg() from qmp_input_type_any() and
qmp_input_type_null()]
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2016-10-07 19:22:11 +02:00
..
2016-07-25 13:23:18 -05:00
2016-10-02 09:47:23 +08:00
2016-09-28 11:21:46 +01:00
2016-09-28 11:32:06 +02:00
2016-02-23 12:43:05 +00:00
2016-07-06 10:52:03 +02:00
2016-06-16 18:39:03 +02:00
2016-06-16 18:39:03 +02:00
2016-09-08 18:05:22 +04:00
2016-02-16 14:29:27 +00:00
2016-09-08 18:05:22 +04:00
2016-09-22 18:13:07 +01:00
2016-09-22 18:13:07 +01:00
2016-09-22 18:13:07 +01:00
2016-06-16 18:39:03 +02:00
2016-09-08 18:05:21 +04:00
2016-08-08 13:05:43 +02:00
2016-09-08 17:57:32 +04:00
2016-06-07 18:19:25 +03:00
2016-02-16 14:29:27 +00:00
2016-09-08 17:57:32 +04:00
2016-09-23 11:42:52 +08:00
2016-09-08 17:57:32 +04:00