Sam Li <[email protected]> writes: > Zone descriptor data is host definied data that is associated with > each zone. Add zone descriptor extensions to zonedmeta and > blk_get_zone_extension to access zd_extensions. > > Signed-off-by: Sam Li <[email protected]>
[...] > diff --git a/qapi/block-core.json b/qapi/block-core.json > index 0c97ae678b..f71dd18fc3 100644 > --- a/qapi/block-core.json > +++ b/qapi/block-core.json > @@ -5024,6 +5024,8 @@ > # (default: off, since 8.0) > # @zone-size: The size of a zone of the zoned device (since 8.0) > # @zone-capacity: The capacity of a zone of the zoned device (since 8.0) > +# @zd-extension-size: Zone descriptor extension size. Must be a multiple of > +# 64 bytes (since 8.0) > # @zone-nr-conv: The number of conventional zones of the zoned device > # (since 8.0) > # @max-open-zones: The maximal allowed open zones (since 8.0) For better or worse, we tend to avoid abbreviations in QAPI schema names. Would @zone-descriptor-extension-size be too unwieldy? > @@ -5052,6 +5054,7 @@ > '*zoned-profile': 'str', > '*zone-size': 'size', > '*zone-capacity': 'size', > + '*zd-extension-size': 'size', > '*zone-nr-conv': 'uint32', > '*max-open-zones': 'uint32', > '*max-active-zones': 'uint32',
