Make bdrv_image_info_dump() print protocol-specific information.

Signed-off-by: Hanna Reitz <hre...@redhat.com>
---
 block/qapi.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/block/qapi.c b/block/qapi.c
index 293983cf82..169ea08f70 100644
--- a/block/qapi.c
+++ b/block/qapi.c
@@ -921,4 +921,9 @@ void bdrv_image_info_dump(ImageInfo *info)
         bdrv_image_info_specific_dump(info->format_specific,
                                       "Format specific information:\n");
     }
+
+    if (info->has_protocol_specific) {
+        bdrv_image_info_specific_dump(info->protocol_specific,
+                                      "Protocol specific information:\n");
+    }
 }
-- 
2.35.1


Reply via email to