qapi: Add feature flags to commands
commit23394b4c393c832aa3891533587ff97e04c70883
authorPeter Krempa <pkrempa@redhat.com>
Fri, 18 Oct 2019 08:14:51 +0000 (18 10:14 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 22 Oct 2019 11:54:13 +0000 (22 13:54 +0200)
tree191585355f00fd01fa66cb5d9da57aa7df96620f
parent758f272b6de428fcd523067f7a507cc7257d4ab0
qapi: Add feature flags to commands

Similarly to features for struct types introduce the feature flags also
for commands. This will allow notifying management layers of fixes and
compatible changes in the behaviour of a command which may not be
detectable any other way.

The changes were heavily inspired by commit 6a8c0b51025.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20191018081454.21369-3-armbru@redhat.com>
docs/devel/qapi-code-gen.txt
qapi/introspect.json
scripts/qapi/commands.py
scripts/qapi/doc.py
scripts/qapi/expr.py
scripts/qapi/introspect.py
scripts/qapi/schema.py
tests/qapi-schema/test-qapi.py