-
Hanna Reitz authored
bdrv_commit() already has a BlockBackend pointing to the BDS that we want to empty, it just has the wrong permissions. qemu-img commit has no BlockBackend pointing to the old backing file yet, but introducing one is simple. After this commit, bdrv_make_empty() is the only remaining caller of BlockDriver.bdrv_make_empty(). Signed-off-by:
Max Reitz <mreitz@redhat.com>
Message-Id: <20200429141126.85159-5-mreitz@redhat.com>
Reviewed-by:
Eric Blake <eblake@redhat.com>
[kwolf: Fixed up reference output for 098]
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>Hanna Reitz authoredbdrv_commit() already has a BlockBackend pointing to the BDS that we want to empty, it just has the wrong permissions. qemu-img commit has no BlockBackend pointing to the old backing file yet, but introducing one is simple. After this commit, bdrv_make_empty() is the only remaining caller of BlockDriver.bdrv_make_empty(). Signed-off-by:
Max Reitz <mreitz@redhat.com>
Message-Id: <20200429141126.85159-5-mreitz@redhat.com>
Reviewed-by:
Eric Blake <eblake@redhat.com>
[kwolf: Fixed up reference output for 098]
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Loading