From e67d8e2928200e24ecb47c7be3ea8270077f2996 Mon Sep 17 00:00:00 2001 From: Daniel P. Berrangé Date: Fri, 19 Feb 2021 19:22:36 +0000 Subject: block: remove 'dirty-bitmaps' field from 'BlockInfo' struct The same data is available in the 'BlockDeviceInfo' struct. Reviewed-by: Vladimir Sementsov-Ogievskiy Signed-off-by: Daniel P. Berrangé --- docs/system/deprecated.rst | 13 ------------- docs/system/removed-features.rst | 9 +++++++++ 2 files changed, 9 insertions(+), 13 deletions(-) (limited to 'docs/system') diff --git a/docs/system/deprecated.rst b/docs/system/deprecated.rst index eadba0f288..c7e80fa731 100644 --- a/docs/system/deprecated.rst +++ b/docs/system/deprecated.rst @@ -198,19 +198,6 @@ Use arguments ``base-node`` and ``top-node`` instead. Specify the properties for the object as top-level arguments instead. -``query-block`` result field ``dirty-bitmaps`` (Since 4.2) -'''''''''''''''''''''''''''''''''''''''''''''''''''''''''' - -The ``dirty-bitmaps`` field of the ``BlockInfo`` structure, returned by -the query-block command is itself now deprecated. The ``dirty-bitmaps`` -field of the ``BlockDeviceInfo`` struct should be used instead, which is the -type of the ``inserted`` field in query-block replies, as well as the -type of array items in query-named-block-nodes. - -Since the ``dirty-bitmaps`` field is optionally present in both the old and -new locations, clients must use introspection to learn where to anticipate -the field if/when it does appear in command output. - ``nbd-server-add`` and ``nbd-server-remove`` (since 5.2) '''''''''''''''''''''''''''''''''''''''''''''''''''''''' diff --git a/docs/system/removed-features.rst b/docs/system/removed-features.rst index 47fdfe6f72..d164d3f290 100644 --- a/docs/system/removed-features.rst +++ b/docs/system/removed-features.rst @@ -127,6 +127,15 @@ The ``status`` field of the ``BlockDirtyInfo`` structure, returned by these commands is removed. Two new boolean fields, ``recording`` and ``busy`` effectively replace it. +``query-block`` result field ``dirty-bitmaps`` (removed in 6.0) +''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' + +The ``dirty-bitmaps`` field of the ``BlockInfo`` structure, returned by +the query-block command is itself now removed. The ``dirty-bitmaps`` +field of the ``BlockDeviceInfo`` struct should be used instead, which is the +type of the ``inserted`` field in query-block replies, as well as the +type of array items in query-named-block-nodes. + Human Monitor Protocol (HMP) commands ------------------------------------- -- cgit v1.2.3-55-g7522