Message ID | 20220503145529.37070-4-hreitz@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | block/file: Show extent size in qemu-img info | expand |
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"); + } }
Make bdrv_image_info_dump() print protocol-specific information. Signed-off-by: Hanna Reitz <hreitz@redhat.com> --- block/qapi.c | 5 +++++ 1 file changed, 5 insertions(+)