mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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]
This commit is contained in:
parent
4a8837389e
commit
f965e8fea6
8 changed files with 24 additions and 6 deletions
|
@ -359,7 +359,7 @@ object FeatureStruct0
|
|||
member foo: int optional=False
|
||||
object FeatureStruct1
|
||||
member foo: int optional=False
|
||||
feature member-feature1
|
||||
feature deprecated
|
||||
feature feature1
|
||||
object FeatureStruct2
|
||||
member foo: int optional=False
|
||||
|
@ -419,7 +419,7 @@ command test-features0 q_obj_test-features0-arg -> None
|
|||
gen=True success_response=True boxed=False oob=False preconfig=False
|
||||
command test-command-features1 None -> None
|
||||
gen=True success_response=True boxed=False oob=False preconfig=False
|
||||
feature feature1
|
||||
feature deprecated
|
||||
command test-command-features3 None -> None
|
||||
gen=True success_response=True boxed=False oob=False preconfig=False
|
||||
feature feature1
|
||||
|
@ -440,7 +440,7 @@ command test-command-cond-features3 None -> None
|
|||
if ['defined(TEST_IF_COND_1)', 'defined(TEST_IF_COND_2)']
|
||||
event TEST-EVENT-FEATURES1 None
|
||||
boxed=False
|
||||
feature feature1
|
||||
feature deprecated
|
||||
module include/sub-module.json
|
||||
include sub-sub-module.json
|
||||
object SecondArrayRef
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue