summary refs log tree commit diff stats
path: root/qemu-img.c
diff options
context:
space:
mode:
authorHanna Reitz <hreitz@redhat.com>2022-06-20 18:26:58 +0200
committerKevin Wolf <kwolf@redhat.com>2023-02-01 16:52:33 +0100
commit5d8813593f3f673fc96eed199beb35690cc46f58 (patch)
tree78cf87bad3f02e6b092f53bd97c6aa897f765f9b /qemu-img.c
parentb1f4cd1589a16fec02f264a09bd3560e4ccce3c2 (diff)
downloadfocaccia-qemu-5d8813593f3f673fc96eed199beb35690cc46f58.tar.gz
focaccia-qemu-5d8813593f3f673fc96eed199beb35690cc46f58.zip
block/qapi: Let bdrv_query_image_info() recurse
There is no real reason why bdrv_query_image_info() should generally not
recurse.  The ImageInfo struct has a pointer to the backing image, so it
should generally be filled, unless the caller explicitly opts out.

This moves the recursing code from bdrv_block_device_info() into
bdrv_query_image_info().

Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220620162704.80987-7-hreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions