summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMax Reitz2020-04-29 16:11:25 +0200
committerKevin Wolf2020-05-18 19:05:25 +0200
commit2b7bbdbdefe203cf8468c61b4217e578981d6fce (patch)
tree66084f4d906895e6cdf67bc9c7a10ef7e4520b9d /tests
parentblock: Add bdrv_make_empty() (diff)
downloadqemu-2b7bbdbdefe203cf8468c61b4217e578981d6fce.tar.gz
qemu-2b7bbdbdefe203cf8468c61b4217e578981d6fce.tar.xz
qemu-2b7bbdbdefe203cf8468c61b4217e578981d6fce.zip
block: Add blk_make_empty()
Two callers of BlockDriver.bdrv_make_empty() remain that should not call this method directly. Both do not have access to a BdrvChild, but they can use a BlockBackend, so we add this function that lets them use it. Signed-off-by: Max Reitz <mreitz@redhat.com> Message-Id: <20200429141126.85159-4-mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions