aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2019-06-12 17:34:45 +0200
committerKevin Wolf <kwolf@redhat.com>2020-09-07 12:31:31 +0200
commitdcf3f9b268a5c04bd94d721b81774092d7170cc4 (patch)
treedc3d1a3408f21fbbb3122e5e9e438d692a233e40 /hw
parent67acfd21885b70ae0cd11f12e34821be3d8b90bb (diff)
downloadqemu-dcf3f9b268a5c04bd94d721b81774092d7170cc4.zip
qemu-dcf3f9b268a5c04bd94d721b81774092d7170cc4.tar.gz
qemu-dcf3f9b268a5c04bd94d721b81774092d7170cc4.tar.bz2
block: Use CAFs when working with backing chains
Use child access functions when iterating through backing chains so filters do not break the chain. In addition, bdrv_find_overlay() will now always return the actual overlay; that is, it will never return a filter node but only one with a COW backing file (there may be filter nodes between that node and @bs). Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions