]> xenbits.xensource.com Git - qemu-xen.git/commit
qapi: New special feature flag "deprecated"
authorMarkus Armbruster <armbru@redhat.com>
Tue, 17 Mar 2020 11:54:50 +0000 (12:54 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 17 Mar 2020 20:42:47 +0000 (21:42 +0100)
commitf965e8fea6a915343d160ba6043deb75710d8df1
tree50557c3f42431652f1e566b367625151891e1b7f
parent4a8837389ef28554a57cdad8e2fc90ae1362dcb2
qapi: New special feature flag "deprecated"

Unlike regular feature flags, the new special feature flag
"deprecated" is recognized by the QAPI generator.  For now, it's only
permitted with commands, events, and struct members.  It will be put
to use shortly.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20200317115459.31821-26-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[Doc typo fixed]
docs/devel/qapi-code-gen.txt
scripts/qapi/schema.py
tests/Makefile.include
tests/qapi-schema/features-deprecated-type.err [new file with mode: 0644]
tests/qapi-schema/features-deprecated-type.json [new file with mode: 0644]
tests/qapi-schema/features-deprecated-type.out [new file with mode: 0644]
tests/qapi-schema/qapi-schema-test.json
tests/qapi-schema/qapi-schema-test.out