summary refs log tree commit diff stats
path: root/qemu-io.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2017-06-29 19:32:21 +0200
committerKevin Wolf <kwolf@redhat.com>2017-10-06 16:28:58 +0200
commit6858eba09ed69e64c8d05d4f4b8167b42a011b7f (patch)
tree4518e7c14e6854a8bc813fe4a9606e1ed1d13df8 /qemu-io.c
parent09d653e6176a5e92f5d2a3b2270f386d9ce6a544 (diff)
downloadfocaccia-qemu-6858eba09ed69e64c8d05d4f4b8167b42a011b7f.tar.gz
focaccia-qemu-6858eba09ed69e64c8d05d4f4b8167b42a011b7f.zip
block: Introduce BdrvChildRole.update_filename
There is no good reason for bdrv_drop_intermediate() to know the active
layer above the subchain it is operating on - even more so, because
the assumption that there is a single active layer above it is not
generally true.

In order to prepare removal of the active parameter, use a BdrvChildRole
callback to update the backing file string in the overlay image instead
of directly calling bdrv_change_backing_file().

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions