qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 19/34] block: Add bdrv_default_perms()


From: Eric Blake
Subject: Re: [PATCH v4 19/34] block: Add bdrv_default_perms()
Date: Wed, 13 May 2020 15:43:01 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

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 <address@hidden>
---
  include/block/block_int.h | 11 +++++++++++
  block.c                   | 32 ++++++++++++++++++++++++++++++++
  2 files changed, 43 insertions(+)

Reviewed-by: Eric Blake <address@hidden>

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]