block: Introduce bs->explicit_options
commit145f598e4a96f6bb78664852bd589e4ea326be94
authorKevin Wolf <kwolf@redhat.com>
Fri, 8 May 2015 14:15:03 +0000 (8 16:15 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 18 Dec 2015 13:34:43 +0000 (18 14:34 +0100)
tree43362cf4095280fb3f5816ea62b97d44c15f52b4
parentde3b53f00761d32b7363f25135b0807d8927c0ec
block: Introduce bs->explicit_options

bs->options doesn't only contain options that the user explicitly
requested, but also option that were derived from flags, the filename or
inherited from the parent node.

For reopen, it is important to know the difference because reopening the
parent can change inherited values in child nodes, but it shouldn't
change any options that were explicitly specified for the child.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
block.c
include/block/block.h
include/block/block_int.h