Searched hist:fae8bd3904642dd7ff582f4ad4e5e63b0cacbe6f (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | block.c | diff fae8bd3904642dd7ff582f4ad4e5e63b0cacbe6f Wed May 13 06:05:20 CDT 2020 Max Reitz <mreitz@redhat.com> 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>
|