block: Allow specifying child options in reopen
commit4c9dfe5d8a7eb956513593720b8d1a9ca2c5a7f9
authorKevin Wolf <kwolf@redhat.com>
Fri, 8 May 2015 13:14:15 +0000 (8 15:14 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 18 Dec 2015 13:34:42 +0000 (18 14:34 +0100)
tree02997607857e4d42e173989db4b3d14448e81d1d
parent62392ebb09fc6e87626aa151a616f24c4e921493
block: Allow specifying child options in reopen

If the child was defined in the same context (-drive argument or
blockdev-add QMP command) as its parent, a reopen of the parent should
work the same and allow changing options of the child.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
block.c