Sam Li <faithilike...@gmail.com> writes:

> Zone descriptor data is host definied data that is associated with
> each zone. Add zone descriptor extensions to zonedmeta struct.
>
> Signed-off-by: Sam Li <faithilike...@gmail.com>

[...]

>  struct BlockBackendRootState {
> diff --git a/qapi/block-core.json b/qapi/block-core.json
> index ef98dc83a0..a7f238371c 100644
> --- a/qapi/block-core.json
> +++ b/qapi/block-core.json
> @@ -5074,12 +5074,16 @@
>  #     append request that can be issued to the device.  It must be
>  #     512-byte aligned
>  #
> +# @descriptor-extension-size: The size of zone descriptor extension
> +#     data. Must be a multiple of 64 bytes (since 8.2)

Two spaces between sentences for consistency, please.

What's the default?

> +#
>  # Since 8.2
>  ##
>  { 'struct': 'Qcow2ZoneHostManaged',
>    'data': { '*size':          'size',
>              '*capacity':      'size',
>              '*conventional-zones': 'uint32',
> +            '*descriptor-extension-size':  'size',
>              '*max-open-zones':     'uint32',
>              '*max-active-zones':   'uint32',
>              '*max-append-bytes':   'uint32' } }


Reply via email to