diff options
author | Max Reitz <mreitz@redhat.com> | 2020-05-13 13:05:20 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2020-05-18 19:05:25 +0200 |
commit | fae8bd3904642dd7ff582f4ad4e5e63b0cacbe6f (patch) | |
tree | 72eecf0b14c60b26fabee3caed4b362f34f3ff8e /fpu | |
parent | b054ff73547b6e032bde1e98c9a4f8240ce9dd30 (diff) |
block: Add generic bdrv_inherited_options()
After the series this patch belongs to, we want to have a common
BdrvChildClass that encompasses all of child_file, child_format, and
child_backing. Such a single class needs a single .inherit_options()
implementation, and this patch introduces it.
The next patch will show how the existing implementations can fall back
to it just by passing appropriate BdrvChildRole and parent_is_format
values.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200513110544.176672-11-mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'fpu')
0 files changed, 0 insertions, 0 deletions