]> Git Repo - qemu.git/commit - block.c
block: Pull out bdrv_default_perms_for_cow()
authorMax Reitz <[email protected]>
Wed, 13 May 2020 11:05:26 +0000 (13:05 +0200)
committerKevin Wolf <[email protected]>
Mon, 18 May 2020 17:05:25 +0000 (19:05 +0200)
commit70082db4efab1bc91467a9207c6e3f554a8e6bac
treec0a3453a8c176695dc121cc2d338754f6f3f6da6
parent33f2663bd58696ab836731830f9fb6a878a5b944
block: Pull out bdrv_default_perms_for_cow()

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 <[email protected]>
Message-Id: <20200513110544[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block.c
This page took 0.024274 seconds and 4 git commands to generate.