qemu-block
[Top][All Lists]
Advanced

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

Re: [PATCH v4 16/34] block: Pull out bdrv_default_perms_for_cow()


From: Eric Blake
Subject: Re: [PATCH v4 16/34] block: Pull out bdrv_default_perms_for_cow()
Date: Wed, 13 May 2020 15:33:05 -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:
Right now, bdrv_format_default_perms() is used by format parents
(generally). We want to switch to a model where most parents use a
single BdrvChildClass, which then decides the permissions based on the
child role. To do so, we have to split bdrv_format_default_perms() into
separate functions for each such role.

Signed-off-by: Max Reitz <address@hidden>
---
  block.c | 62 +++++++++++++++++++++++++++++++++++++--------------------
  1 file changed, 40 insertions(+), 22 deletions(-)


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]