[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] net: Drop the legacy "name" parameter from the -net opti
From: |
Thomas Huth |
Subject: |
Re: [PATCH 1/2] net: Drop the legacy "name" parameter from the -net option |
Date: |
Tue, 10 Dec 2019 12:28:40 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 10/12/2019 12.06, Markus Armbruster wrote:
> Thomas Huth <address@hidden> writes:
>
>> It's been deprecated since QEMU v3.1, so it's time to finally
>> remove it. The "id" parameter can simply be used instead.
>>
>> Signed-off-by: Thomas Huth <address@hidden>
> [...]
>> diff --git a/qapi/net.json b/qapi/net.json
>> index 335295be50..ff280ccd16 100644
>> --- a/qapi/net.json
>> +++ b/qapi/net.json
>> @@ -488,18 +488,16 @@
>> #
>> # @id: identifier for monitor commands
>> #
>> -# @name: identifier for monitor commands, ignored if @id is present
>> -#
>> # @opts: device type specific properties (legacy)
>> #
>> # Since: 1.2
>> #
>> # 'vlan': dropped in 3.0
>> +# 'name': dropped in 5.0
>> ##
>
> Uh, when did we start to add "dropped in" to our doc comments?
>
> We should either do this systematically, or not at all. If the former,
> we have quite a few "dropped in" to add belatedly.
IIRC this has been suggested by Eric, see e.g.:
https://patchwork.kernel.org/patch/10227335/#21501161
Anyway, it should not matter much for this patch here, since the line
gets removed again in the 2nd patch anyway.
Thomas