diff options
author | Kevin Wolf <kwolf@redhat.com> | 2015-04-29 17:29:39 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-12-18 14:34:42 +0100 |
commit | 8e2160e2c75522554647e197e8b61622d6cf076f (patch) | |
tree | e6983855ec016a2d0bf12f9574e6d38efcca7b0b /include/block | |
parent | 2851810223a6f2a3f6c00613477feb6e33c10d34 (diff) |
block: Add infrastructure for option inheritance
Options are not actually inherited from the parent node yet, but this
commit lays the grounds for doing so.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r-- | include/block/block_int.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h index 98336f60dd..abb6224439 100644 --- a/include/block/block_int.h +++ b/include/block/block_int.h @@ -343,7 +343,8 @@ typedef struct BdrvAioNotifier { } BdrvAioNotifier; struct BdrvChildRole { - int (*inherit_flags)(int parent_flags); + void (*inherit_options)(int *child_flags, QDict *child_options, + int parent_flags, QDict *parent_options); }; extern const BdrvChildRole child_file; |