On 4/29/20 9:11 AM, Max Reitz wrote:
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 <[email protected]>
---
  include/sysemu/block-backend.h |  2 ++
  block/block-backend.c          | 10 ++++++++++
  2 files changed, 12 insertions(+)


Reviewed-by: Eric Blake <[email protected]>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org


Reply via email to