Am 27.09.2021 um 10:21 hat Daniel P. Berrangé geschrieben:
On Mon, Sep 27, 2021 at 10:15:43AM +0200, Paolo Bonzini wrote:
> On 24/09/21 11:04, Kevin Wolf wrote:
> > We want to switch both from QemuOpts to the keyval parser in the future,
> > which results in some incompatibilities, mainly around list handling.
> > Mark the non-JSON version of both as unstable syntax so that management
> > tools switch to JSON and we can later make the change without breaking
> > things.
>
> Maybe we need a different section for unstable syntaxes, rather than
> overloading deprecated.rst?
This case feels like it hits two scenarios - we want to declare it
unstable, which is something we should document in qemu-options.hx.
Actually, I think a section for unstable syntaxes or generally
compatibility promises wouldn't hurt. When I checked, I couldn't find
any documentation about the support status of HMP either.
Basically, I imagine HMP and non-JSON -device/-object would be on the
same level: We don't change things without a reason, but if we do want
to change things, compatibility isn't an argument against making the
change.
We want to also to warn of specific breakage when the impl changes
which is something suitable for deprecations.
We don't do this for HMP either for individual changes.
Basically this deprecation notice was meant to make people aware that
we're lowering the support status from a long-term stable interface to
HMP-like.
Kevin