mirror of
https://github.com/qemu/qemu.git
synced 2025-10-29 17:43:52 +00:00
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> |
||
|---|---|---|
| .. | ||
| 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 | ||