Re: [Qemu-devel] [PATCH 04/11] qemu-img: move image retrieving function to block layer

2013-01-04 Thread Eric Blake
On 12/29/2012 01:45 AM, Wenchao Xia wrote: This patch moves collect_image_info() and collect_snapshot() to general block layer and encapsulate them as bdrv_query_image_info() and bdrv_query_snapshot_infolist(), as mirror function to brdv_query_info(). The called function in qemu-img.c is

[Qemu-devel] [PATCH 04/11] qemu-img: move image retrieving function to block layer

2012-12-29 Thread Wenchao Xia
This patch moves collect_image_info() and collect_snapshot() to general block layer and encapsulate them as bdrv_query_image_info() and bdrv_query_snapshot_infolist(), as mirror function to brdv_query_info(). The called function in qemu-img.c is switched to bdrv_query_image_info(). To help