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 6a8c0b51. 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>
Showing
- docs/devel/qapi-code-gen.txt 6 additions, 4 deletionsdocs/devel/qapi-code-gen.txt
- qapi/introspect.json 5 additions, 1 deletionqapi/introspect.json
- scripts/qapi/commands.py 2 additions, 1 deletionscripts/qapi/commands.py
- scripts/qapi/doc.py 3 additions, 1 deletionscripts/qapi/doc.py
- scripts/qapi/expr.py 20 additions, 15 deletionsscripts/qapi/expr.py
- scripts/qapi/introspect.py 6 additions, 1 deletionscripts/qapi/introspect.py
- scripts/qapi/schema.py 18 additions, 4 deletionsscripts/qapi/schema.py
- tests/qapi-schema/test-qapi.py 2 additions, 1 deletiontests/qapi-schema/test-qapi.py
Loading
Please register or sign in to comment