qemu-e2k/include/qapi/qmp
Markus Armbruster 6604e4757a qapi: Generalize command policy checking
The code to check command policy can see special feature flag
'deprecated' as command flag QCO_DEPRECATED.  I want to make feature
flag 'unstable' visible there as well, so I can add policy for it.

To let me make it visible, add member @special_features (a bitset of
QapiSpecialFeature) to QmpCommand, and adjust the generator to pass it
through qmp_register_command().  Then replace "QCO_DEPRECATED in
@flags" by QAPI_DEPRECATED in @special_features", and drop
QCO_DEPRECATED.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: John Snow <jsnow@redhat.com>
Message-Id: <20211028102520.747396-7-armbru@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2021-10-29 18:24:46 +02:00
..
dispatch.h qapi: Generalize command policy checking 2021-10-29 18:24:46 +02:00
json-parser.h
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 vl: plumb keyval-based options into -readconfig 2021-06-04 13:50:04 +02:00
qerror.h
qjson.h
qlist.h qobject: Move internals to qobject-internal.h 2020-12-19 10:38:43 +01:00
qlit.h
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