qemu-patch-raspberry4/include/qapi/qmp
Markus Armbruster d2032598c4 qapi: Implement deprecated-input=reject for QMP commands
This policy rejects deprecated input, and thus permits "testing the
future".  Implement it for QMP commands: make deprecated ones fail.
Example: when QEMU is run with -compat deprecated-input=reject, then

    {"execute": "query-cpus"}

fails like this

    {"error": {"class": "CommandNotFound", "desc": "Deprecated command query-cpus disabled by policy"}}

When the deprecated command is removed, the error will change to

    {"error": {"class": "CommandNotFound", "desc": "The command query-cpus has not been found"}}

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210318155519.1224118-10-armbru@redhat.com>
2021-03-19 16:05:11 +01:00
..
dispatch.h qapi: Implement deprecated-input=reject for QMP commands 2021-03-19 16:05:11 +01:00
json-parser.h json: Clean up headers 2018-08-24 20:26:37 +02:00
json-writer.h migration: Replace migration's JSON writer by the general one 2020-12-19 10:39:16 +01:00
qbool.h qobject: Move internals to qobject-internal.h 2020-12-19 10:38:43 +01:00
qdict.h qobject: Move internals to qobject-internal.h 2020-12-19 10:38:43 +01:00
qerror.h ui: Improve a client_migrate_info error message 2020-12-10 17:16:44 +01:00
qjson.h qobject: Change qobject_to_json()'s value to GString 2020-12-19 10:38:43 +01:00
qlist.h qobject: Move internals to qobject-internal.h 2020-12-19 10:38:43 +01:00
qlit.h qlit: add qobject_from_qlit() 2018-03-19 10:00:14 -05:00
qnull.h qobject: Move internals to qobject-internal.h 2020-12-19 10:38:43 +01:00
qnum.h qobject: Move internals to qobject-internal.h 2020-12-19 10:38:43 +01:00
qobject.h qobject: Move internals to qobject-internal.h 2020-12-19 10:38:43 +01:00
qstring.h qobject: Make QString immutable 2020-12-19 10:39:41 +01:00