[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 25/34] qapi: New special feature flag "deprecated"
From: |
Markus Armbruster |
Subject: |
Re: [PATCH v4 25/34] qapi: New special feature flag "deprecated" |
Date: |
Tue, 17 Mar 2020 21:40:59 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Eric Blake <address@hidden> writes:
> On 3/17/20 6:54 AM, Markus Armbruster wrote:
>> 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 <address@hidden>
>> ---
>
>> +++ b/docs/devel/qapi-code-gen.txt
>> @@ -683,6 +683,12 @@ Intended use is to have each feature string signal that
>> this build of
>> QEMU shows a certain behaviour.
>> +==== Special features ====
>> +
>> +Feature "deprecated" makes a command, event, or struct member as
>> +deprecated. It is not supported elsewhere so far.
>
> Reads awkwardly, but I can't tell if it was a typo or an extra
> word. Either "makes a command, event, or struct member deprecated" or
> "marks a command, event, or struct member as deprecated".
I typoed the latter. Will fix!
> Reviewed-by: Eric Blake <address@hidden>
Thanks!
- [PATCH v4 27/34] qemu-options: New -compat to set policy for deprecated interfaces, (continued)
- [PATCH v4 27/34] qemu-options: New -compat to set policy for deprecated interfaces, Markus Armbruster, 2020/03/17
- [PATCH v4 21/34] qapi: Inline do_qmp_dispatch() into qmp_dispatch(), Markus Armbruster, 2020/03/17
- [PATCH v4 32/34] qapi: Implement deprecated-input=reject for QMP commands, Markus Armbruster, 2020/03/17
- [PATCH v4 28/34] qapi: Implement deprecated-output=hide for QMP command results, Markus Armbruster, 2020/03/17
- [PATCH v4 25/34] qapi: New special feature flag "deprecated", Markus Armbruster, 2020/03/17
- [PATCH v4 13/34] qapi: Consistently put @features parameter right after @ifcond, Markus Armbruster, 2020/03/17
- [PATCH v4 29/34] qapi: Implement deprecated-output=hide for QMP events, Markus Armbruster, 2020/03/17
- [PATCH v4 34/34] qapi: New -compat deprecated-input=crash, Markus Armbruster, 2020/03/17
- [PATCH v4 19/34] qapi/schema: Call QAPIDoc.connect_member() in just one place, Markus Armbruster, 2020/03/17
- [PATCH v4 26/34] qapi: Mark deprecated QMP parts with feature 'deprecated', Markus Armbruster, 2020/03/17
- [PATCH v4 17/34] qapi/schema: Reorder classes so related ones are together, Markus Armbruster, 2020/03/17
- [PATCH v4 31/34] qapi: Implement deprecated-output=hide for QMP introspection, Markus Armbruster, 2020/03/17