Searched hist:"6858 eba09ed69e64c8d05d4f4b8167b42a011b7f" (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/include/block/ |
H A D | block_int.h | diff 6858eba09ed69e64c8d05d4f4b8167b42a011b7f Thu Jun 29 12:32:21 CDT 2017 Kevin Wolf <kwolf@redhat.com> 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>
|
/openbmc/qemu/ |
H A D | block.c | diff 6858eba09ed69e64c8d05d4f4b8167b42a011b7f Thu Jun 29 12:32:21 CDT 2017 Kevin Wolf <kwolf@redhat.com> 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>
|