summaryrefslogtreecommitdiffstats
path: root/qapi
diff options
context:
space:
mode:
authorMax Reitz2015-10-26 21:39:07 +0100
committerKevin Wolf2015-11-11 16:22:46 +0100
commit38cb18f5b71428fb8a3e3759ac8fa21ac70cb1b5 (patch)
tree015d4c3447befe908c51ba2d5794e3c0ecb269aa /qapi
parentblock: Make bdrv_states public (diff)
downloadqemu-38cb18f5b71428fb8a3e3759ac8fa21ac70cb1b5.tar.gz
qemu-38cb18f5b71428fb8a3e3759ac8fa21ac70cb1b5.tar.xz
qemu-38cb18f5b71428fb8a3e3759ac8fa21ac70cb1b5.zip
block: Add functions for inheriting a BBRS
In order to open a BDS which inherits a BB's root state, blk_get_open_flags_from_root_state() is used to inquire the flags to be passed to bdrv_open(), and blk_apply_root_state() is used to apply the remaining state after the BDS has been opened. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qapi')
0 files changed, 0 insertions, 0 deletions