Searched hist:"7 ddbce2dec96f1d881db0a81541072a23d2b89b4" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/block/ |
H A D | copy-before-write.c | diff 7ddbce2dec96f1d881db0a81541072a23d2b89b4 Tue Aug 24 03:38:35 CDT 2021 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> block/copy-before-write: bdrv_cbw_append(): replace child at last
Refactor the function to replace child at last. Thus we don't need to revert it and code is simplified.
block-copy state initialization being done before replacing the child doesn't need any drained section.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-Id: <20210824083856.17408-14-vsementsov@virtuozzo.com> Signed-off-by: Hanna Reitz <hreitz@redhat.com>
|