]> git.proxmox.com Git - mirror_qemu.git/commit
block/qapi: Add indentation to bdrv_node_info_dump()
authorHanna Reitz <hreitz@redhat.com>
Mon, 20 Jun 2022 16:27:00 +0000 (18:27 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 1 Feb 2023 15:52:33 +0000 (16:52 +0100)
commit76c9e9750d1bd580e8ed4465f6be3a986434e7c3
treecb7c6a12d05fa85a8a5f838be2826a2299cc3cbb
parent6cab33997b91eb86e82a6a2ae58a24f835249d4a
block/qapi: Add indentation to bdrv_node_info_dump()

In order to let qemu-img info present a block graph, add a parameter to
bdrv_node_info_dump() and bdrv_image_info_specific_dump() so that the
information of nodes below the root level can be given an indentation.

Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220620162704.80987-9-hreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/monitor/block-hmp-cmds.c
block/qapi.c
include/block/qapi.h
qemu-img.c
qemu-io-cmds.c