summary refs log tree commit diff stats
path: root/scripts/qapi/source.py
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 /scripts/qapi/source.py
parent67acfd21885b70ae0cd11f12e34821be3d8b90bb (diff)
downloadfocaccia-qemu-dcf3f9b268a5c04bd94d721b81774092d7170cc4.tar.gz
focaccia-qemu-dcf3f9b268a5c04bd94d721b81774092d7170cc4.zip
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 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions