On 05/08/2015 11:21 AM, Kevin Wolf wrote: > 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 <kw...@redhat.com> > --- > block.c | 17 +++++++++++++++++ > include/block/block_int.h | 4 ++++ > 2 files changed, 21 insertions(+) >
Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature