qapi: Add feature flags to remaining definitions
commit013b4efc9be9af8276bd891cd52267d409f1d712
authorMarkus Armbruster <armbru@redhat.com>
Tue, 17 Mar 2020 11:54:37 +0000 (17 12:54 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 17 Mar 2020 18:58:34 +0000 (17 19:58 +0100)
tree78d9eb2e1a277349ba13511542581b1edd39edca
parente4405b30695cda6fad69a4411c05b73d538c7992
qapi: Add feature flags to remaining definitions

In v4.1.0, we added feature flags just to struct types (commit
6a8c0b5102^..f3ed93d545), to satisfy an immediate need (commit
c9d4070991 "file-posix: Add dynamic-auto-read-only QAPI feature").  In
v4.2.0, we added them to commands (commit 23394b4c39 "qapi: Add
feature flags to commands") to satisfy another immediate need (commit
d76744e65e "qapi: Allow introspecting fix for savevm's cooperation
with blockdev").

Add them to the remaining definitions: enumeration types, union types,
alternate types, and events.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200317115459.31821-13-armbru@redhat.com>
17 files changed:
docs/devel/qapi-code-gen.txt
qapi/introspect.json
scripts/qapi/doc.py
scripts/qapi/events.py
scripts/qapi/expr.py
scripts/qapi/introspect.py
scripts/qapi/schema.py
scripts/qapi/types.py
scripts/qapi/visit.py
tests/qapi-schema/alternate-base.err
tests/qapi-schema/doc-good.json
tests/qapi-schema/doc-good.out
tests/qapi-schema/doc-good.texi
tests/qapi-schema/qapi-schema-test.json
tests/qapi-schema/qapi-schema-test.out
tests/qapi-schema/test-qapi.py
tests/test-qmp-cmds.c