diff options
author | Vladimir Sementsov-Ogievskiy | 2021-08-24 10:38:38 +0200 |
---|---|---|
committer | Hanna Reitz | 2021-09-01 14:03:47 +0200 |
commit | 5a507426740b4d7bdd2b333cfa7f5da3e60ebad8 (patch) | |
tree | 00d966cc513cd7eb824b442457b3632f7000e60a /python/qemu | |
parent | block/copy-before-write: cbw_init(): rename variables (diff) | |
download | qemu-5a507426740b4d7bdd2b333cfa7f5da3e60ebad8.tar.gz qemu-5a507426740b4d7bdd2b333cfa7f5da3e60ebad8.tar.xz qemu-5a507426740b4d7bdd2b333cfa7f5da3e60ebad8.zip |
block/copy-before-write: cbw_init(): use file child after attaching
In the next commit we'll get rid of source argument of cbw_init().
Prepare to it now, to make next commit simpler: move the code block
that uses source below attaching the child and use bs->file->bs instead
of source variable.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20210824083856.17408-17-vsementsov@virtuozzo.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Diffstat (limited to 'python/qemu')
0 files changed, 0 insertions, 0 deletions