qemu-img: Use child access functions
commit4a2061e66d1fb16c14ca65b2c702363361adeb7b
authorMax Reitz <mreitz@redhat.com>
Wed, 12 Jun 2019 17:00:30 +0000 (12 19:00 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 7 Sep 2020 10:31:31 +0000 (7 12:31 +0200)
treed56b9327aacfa37cbc9e500d650f8275cc176ad0
parentee2f94ca2799f3a6536cf19235c9bb44be919956
qemu-img: Use child access functions

This changes iotest 204's output, because blkdebug on top of a COW node
used to make qemu-img map disregard the rest of the backing chain (the
backing chain was broken by the filter).  With this patch, the
allocation in the base image is reported correctly.

Signed-off-by: Max Reitz <mreitz@redhat.com>
qemu-img.c
tests/qemu-iotests/204.out