Re: [Qemu-devel] [PATCH v2 03/12] block: Add has_single_child field for drivers

2014-03-09 Thread Benoît Canet
The Friday 07 Mar 2014 à 23:55:47 (+0100), Max Reitz wrote : This field should be used by block drivers acting as filters which have only a single child BDS which is referenced through the file field of the BDS. Setting this field allows other block functions to access the child BDS, for

[Qemu-devel] [PATCH v2 03/12] block: Add has_single_child field for drivers

2014-03-07 Thread Max Reitz
This field should be used by block drivers acting as filters which have only a single child BDS which is referenced through the file field of the BDS. Setting this field allows other block functions to access the child BDS, for instance in bdrv_recurse_is_first_non_filter(). Therefore, it should