mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 03:59:52 +00:00
d2032598c4
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> |
||
---|---|---|
.. | ||
dispatch.h | ||
json-parser.h | ||
json-writer.h | ||
qbool.h | ||
qdict.h | ||
qerror.h | ||
qjson.h | ||
qlist.h | ||
qlit.h | ||
qnull.h | ||
qnum.h | ||
qobject.h | ||
qstring.h |