From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Cornelia Huck <cohuck@redhat.com>
Cc: "Gerd Hoffmann" <kraxel@redhat.com>,
"Alexander Graf" <agraf@suse.de>,
"Eduardo Habkost" <ehabkost@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
qemu-ppc@nongnu.org, qemu-devel@nongnu.org,
"Markus Armbruster" <armbru@redhat.com>,
"Hervé Poussineau" <hpoussin@reactos.org>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Richard Henderson" <rth@twiddle.net>,
"David Gibson" <david@gibson.dropbear.id.au>
Subject: Re: [Qemu-devel] [PATCH 1/4] add QemuSupportState
Date: Tue, 30 Oct 2018 18:37:42 +0100 [thread overview]
Message-ID: <74a8ecef-18c0-d55d-4b29-7ed6c6b57537@redhat.com> (raw)
In-Reply-To: <20181030164633.2c8f21d3.cohuck@redhat.com>
On 30/10/18 16:46, Cornelia Huck wrote:
> On Tue, 30 Oct 2018 15:13:45 +0100
> Philippe Mathieu-Daudé <philmd@redhat.com> wrote:
>
>> On 30/10/18 15:00, Gerd Hoffmann wrote:
>>> On Tue, Oct 30, 2018 at 02:32:40PM +0100, Philippe Mathieu-Daudé wrote:
>>>>> +##
>>>>> +# @SupportState:
>>>>> +#
>>>>> +# Indicate Support level of qemu devices, backends, subsystems, ...
>>>>> +#
>>>>> +# Since: 3.2
>>>>> +##
>>>>> +{ 'enum': 'SupportState',
>>>>> + 'data': [ 'unknown',
>>>>
>>>> 'unknown' is scary and should be fixed.
>>>
>>> 'unknown' maps to "0" due to being first in list, so this is what you
>>> get when it isn't explicitly set to something else. Which make sense
>>> IMHO.
>>
>> Yes, I understand in your next patch, this case won't display warning to
>> the user.
>>
>> I wanted to say "we should fix those entries in the MAINTAINERS file".
>
> I think that has been an ongoing quest for years :)
>
>>
>>>
>>>>> + 'supported',
>>>>> + 'maintained',
>>>>> + 'odd-fixes',
>>>>
>>>> All those fit in 'supported'
>>>>
>>>>> + 'orphan',
>>>>> + 'obsolete',
>>>>> + 'deprecated' ] }
>>>>
>>>> And all those should appear as 'deprecated' IMHO.
>>>
>>> See minutes on deprecation discussion. Seems there is agreement we
>>> need something more finegrained than "supported" and "deprecated".
>>
>> I read again the "Minutes of KVM Forum BoF on deprecating stuff" thread
>> and don't find details on finegrains, can you point it to me?
>>
>> I think these are fine in the MAINTAINERS entries, but don't give useful
>> information to a QEMU user that is not custom to MAINTAINERS.
>
> We might squash 'supported' and 'maintained' together (as their only
> real difference is whether someone gets paid for it), but 'odd fixes'
> is different IMO (you have someone to talk to, but they don't dedicate
> much of their time to it.)
>
>>
>> As a user I'd expect anything not "supported" to be eventually "deprecated".
>
> But there are differences:
> - 'orphan' - nobody is looking after it; should become 'deprecated' if
> nobody steps up, but may move to one of the 'someone looks after it'
> states
> - 'obsolete' - don't use this; should move to 'deprecated' once a
> replacement is ready (or it is not needed anymore)
> - 'deprecated' - on the removal schedule; has not necessarily been in
> 'orphan' or 'obsolete' before
OK!
If I understand correctly, we have this 'state machine':
Supported Unsupported Deprecated
(someone to talk) (nobody to talk) (scheduled for removal)
+--------------+ +------------+ +--------------+
| S:Maintained | | S:Unknown | | |
| | | | | |
| S:Supported + <---> | S:Orphan +----> | S:Deprecated +----> Removed
| | | | | |
| S:Odd Fixes | | S:Obsolete | | |
+------+-------+ +------------+ +--------------+
| ^
| |
+-------------------------------------------+
So we have 3 distinct states.
Note:
- Maintainers can deprecate stuffs
- Orphan code can become Supported
- Once scheduled for removal, there is no way back
- 'Unknown' seems pretty similar to 'Orphan'.
>
>>
>> Should we continue this discussion on the "Minutes of KVM Forum BoF on
>> deprecating stuff" thread?
>>
>> Thanks,
>>
>> Phil.
>>
>>>
>>> cheers,
>>> Gerd
>>>
>>>
>>
>
next prev parent reply other threads:[~2018-10-30 17:38 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-30 11:13 [Qemu-devel] [PATCH 0/4] Introducing QemuSupportState Gerd Hoffmann
2018-10-30 11:13 ` [Qemu-devel] [PATCH 1/4] add QemuSupportState Gerd Hoffmann
2018-10-30 13:32 ` Philippe Mathieu-Daudé
2018-10-30 14:00 ` Gerd Hoffmann
2018-10-30 14:13 ` Philippe Mathieu-Daudé
2018-10-30 15:46 ` Cornelia Huck
2018-10-30 17:37 ` Philippe Mathieu-Daudé [this message]
2018-10-30 23:15 ` Eduardo Habkost
2018-10-31 9:22 ` Cornelia Huck
2018-11-05 7:30 ` Gerd Hoffmann
2018-11-05 13:49 ` Eduardo Habkost
2018-11-06 6:56 ` Gerd Hoffmann
2018-10-31 16:04 ` John Snow
2018-10-31 18:06 ` Eduardo Habkost
2018-10-31 18:37 ` John Snow
2018-10-31 18:58 ` Eduardo Habkost
2018-10-31 20:05 ` John Snow
2018-11-05 7:46 ` Gerd Hoffmann
2018-10-30 14:54 ` Eduardo Habkost
2018-10-30 15:02 ` Eduardo Habkost
2018-10-30 17:30 ` [Qemu-devel] [Qemu-ppc] " Murilo Opsfelder Araujo
2018-10-30 11:13 ` [Qemu-devel] [PATCH 2/4] add QemuSupportState to DeviceClass Gerd Hoffmann
2018-10-30 11:13 ` [Qemu-devel] [PATCH 3/4] tag cirrus as obsolete Gerd Hoffmann
2018-10-30 11:22 ` Paolo Bonzini
2018-10-30 11:13 ` [Qemu-devel] [PATCH 4/4] switch machine types to QemuSupportState Gerd Hoffmann
2018-10-30 11:22 ` [Qemu-devel] [PATCH 0/4] Introducing QemuSupportState Paolo Bonzini
2018-10-30 14:34 ` Eduardo Habkost
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=74a8ecef-18c0-d55d-4b29-7ed6c6b57537@redhat.com \
--to=philmd@redhat.com \
--cc=agraf@suse.de \
--cc=armbru@redhat.com \
--cc=cohuck@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=ehabkost@redhat.com \
--cc=hpoussin@reactos.org \
--cc=kraxel@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=rth@twiddle.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).