qemu/monitor
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
..
hmp-cmds.c sgx-epc: Add the fill_device_info() callback support 2021-09-30 15:30:24 +02:00
hmp.c monitor: allow register hmp commands 2021-07-09 18:21:33 +02:00
meson.build meson: add spice_headers dependency. 2020-10-15 11:14:40 +02:00
misc.c qapi: Generalize command policy checking 2021-10-29 18:24:46 +02:00
monitor-internal.h monitor: Drop query-qmp-schema 'gen': false hack 2021-03-19 16:05:09 +01:00
monitor.c monitor: Rate-limit MEMORY_DEVICE_SIZE_CHANGE qapi events per device 2021-10-02 08:43:21 +02:00
qmp-cmds-control.c qapi: Implement deprecated-output=hide for QMP introspection 2021-03-19 16:05:11 +01:00
qmp-cmds.c arch_init.h: Don't include arch_init.h unnecessarily 2021-08-26 17:02:00 +01:00
qmp.c monitor/qmp: fix race on CHR_EVENT_CLOSED without OOB 2021-05-12 17:29:11 +02:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00