Re: [Qemu-devel] [PATCH v2 11/12] block/qapi: Ignore filters on top for format name

2014-03-09 Thread Benoît Canet
The Friday 07 Mar 2014 à 23:55:55 (+0100), Max Reitz wrote : bdrv_query_image_info() currently deduces the image filename and the format name from the top BDS. However, it is probably more reasonable to ignore as many filters as possible on top of the BDS chain since those neither change the

[Qemu-devel] [PATCH v2 11/12] block/qapi: Ignore filters on top for format name

2014-03-07 Thread Max Reitz
bdrv_query_image_info() currently deduces the image filename and the format name from the top BDS. However, it is probably more reasonable to ignore as many filters as possible on top of the BDS chain since those neither change the type nor the filename of the underlying image. Filters like