diff options
author | Kevin Wolf | 2015-04-08 13:43:47 +0200 |
---|---|---|
committer | Kevin Wolf | 2015-06-12 17:04:59 +0200 |
commit | f3930ed0bb1945b59da8e591072b5c79606d0760 (patch) | |
tree | bbc19fff220e6e2291622b755259549adf733a17 /include/qemu/crc32c.h | |
parent | block: Use QemuOpts in bdrv_open_common() (diff) | |
download | qemu-f3930ed0bb1945b59da8e591072b5c79606d0760.tar.gz qemu-f3930ed0bb1945b59da8e591072b5c79606d0760.tar.xz qemu-f3930ed0bb1945b59da8e591072b5c79606d0760.zip |
block: Move flag inheritance to bdrv_open_inherit()
Instead of letting every caller of bdrv_open() determine the right flags
for its child node manually and pass them to the function, pass the
parent node and the role of the newly opened child (like backing file,
protocol layer, etc.).
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include/qemu/crc32c.h')
0 files changed, 0 insertions, 0 deletions