On 5/13/20 6:05 AM, Max Reitz wrote:
This callback can be used by BDSs that use child_of_bds with the
appropriate BdrvChildRole for their children.

Also, make bdrv_format_default_perms() use it for child_of_bds children
(just a temporary solution until we can drop bdrv_format_default_perms()
altogether).

Signed-off-by: Max Reitz <mre...@redhat.com>
---
  include/block/block_int.h | 11 +++++++++++
  block.c                   | 32 ++++++++++++++++++++++++++++++++
  2 files changed, 43 insertions(+)

Reviewed-by: Eric Blake <ebl...@redhat.com>

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


Reply via email to