Re: [Qemu-devel] [PATCH 09/34] block: Add BlockDriverState.inherits_from

2015-05-11 Thread Max Reitz
On 08.05.2015 19:21, 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 use

Re: [Qemu-devel] [PATCH 09/34] block: Add BlockDriverState.inherits_from

2015-05-08 Thread Eric Blake
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 no

[Qemu-devel] [PATCH 09/34] block: Add BlockDriverState.inherits_from

2015-05-08 Thread Kevin Wolf
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 creat