[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/9] qapi: Mark unstable QMP parts with feature 'unstable'
From: |
Eric Blake |
Subject: |
Re: [PATCH 2/9] qapi: Mark unstable QMP parts with feature 'unstable' |
Date: |
Fri, 29 Oct 2021 08:07:17 -0500 |
User-agent: |
NeoMutt/20211022 |
On Mon, Oct 25, 2021 at 07:25:25AM +0200, Markus Armbruster wrote:
> Add special feature 'unstable' everywhere the name starts with 'x-',
> except for InputBarrierProperties member x-origin and
> MemoryBackendProperties member x-use-canonical-path-for-ramblock-id,
> because these two are actually stable.
>
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> ---
> @@ -2495,27 +2508,57 @@
> #
> # Properties for throttle-group objects.
> #
> -# The options starting with x- are aliases for the same key without x- in
> -# the @limits object. As indicated by the x- prefix, this is not a stable
> -# interface and may be removed or changed incompatibly in the future. Use
> -# @limits for a supported stable interface.
> -#
> # @limits: limits to apply for this throttle group
> #
> +# Features:
> +# @unstable: All members starting with x- are aliases for the same key
> +# without x- in the @limits object. This is not a stable
> +# interface and may be removed or changed incompatibly in
> +# the future. Use @limits for a supported stable
> +# interface.
> +#
> # Since: 2.11
> ##
> { 'struct': 'ThrottleGroupProperties',
> 'data': { '*limits': 'ThrottleLimits',
> - '*x-iops-total' : 'int', '*x-iops-total-max' : 'int',
> + '*x-iops-total': { 'type': 'int',
> + 'features': [ 'unstable' ] },
This struct has been around since 381bd74 (v6.0); but was not listed
as deprecated at the time. Do we still need it in 6.2, or have we
gone enough release cycles with the saner naming without x- that we
could drop this? But that is a question independent of this patch.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
- [PATCH 3/9] qapi: Eliminate QCO_NO_OPTIONS for a slight simplification, (continued)
- Re: [PATCH 2/9] qapi: Mark unstable QMP parts with feature 'unstable',
Eric Blake <=
[PATCH 5/9] qapi: Generalize struct member policy checking, Markus Armbruster, 2021/10/25
[PATCH 4/9] qapi: Tools for sets of special feature flags in generated code, Markus Armbruster, 2021/10/25
[PATCH 6/9] qapi: Generalize command policy checking, Markus Armbruster, 2021/10/25