diff options
| author | Max Reitz | 2020-05-13 13:05:20 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2020-05-18 19:05:25 +0200 |
| commit | fae8bd3904642dd7ff582f4ad4e5e63b0cacbe6f (patch) | |
| tree | 72eecf0b14c60b26fabee3caed4b362f34f3ff8e /include | |
| parent | block: Rename bdrv_inherited_options() (diff) | |
| download | qemu-fae8bd3904642dd7ff582f4ad4e5e63b0cacbe6f.tar.gz qemu-fae8bd3904642dd7ff582f4ad4e5e63b0cacbe6f.tar.xz qemu-fae8bd3904642dd7ff582f4ad4e5e63b0cacbe6f.zip | |
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 'include')
0 files changed, 0 insertions, 0 deletions
