diff options
author | Kevin Wolf <kwolf@redhat.com> | 2015-04-09 18:47:50 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-06-12 17:04:59 +0200 |
commit | bddcec3745b0220d4a7eda700950812a94398668 (patch) | |
tree | f4e0ba8a6adeac54ff4dc160ce6f4e7904690a33 /rules.mak | |
parent | 6e93e7c41fdfdee3068770cae79380e1d986b76a (diff) | |
download | qemu-bddcec3745b0220d4a7eda700950812a94398668.zip qemu-bddcec3745b0220d4a7eda700950812a94398668.tar.gz qemu-bddcec3745b0220d4a7eda700950812a94398668.tar.bz2 |
block: Add BlockDriverState.inherits_from
Currently, the block layer assumes that any block node can have only one
parent, and if it has a parent, that it inherits some options/flags from
this parent.
This is not true any more: With references used in block device
creation, a single node can be used by multiple parents, or it can be
created separately and not inherit flags from any parent.
To handle reopens correctly, a node must know from which parent it
inherited options. This patch adds the information to BlockDriverState.
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 'rules.mak')
0 files changed, 0 insertions, 0 deletions