Re: [Qemu-devel] [PATCH V3 03/11] block: add snapshot and image info query function

2013-01-14 Thread Luiz Capitulino
On Mon, 14 Jan 2013 15:09:39 +0800 Wenchao Xia wrote: > This patch added function bdrv_query_image_info() and > bdrv_query_snapshot_infolist(), which will return info in qmp object > format. The implementation code are mostly copied from collect_image_info() > and collect_snapshot() in qemu-img

[Qemu-devel] [PATCH V3 03/11] block: add snapshot and image info query function

2013-01-13 Thread Wenchao Xia
This patch added function bdrv_query_image_info() and bdrv_query_snapshot_infolist(), which will return info in qmp object format. The implementation code are mostly copied from collect_image_info() and collect_snapshot() in qemu-img.c. To help filter out snapshot info not needed, a call back f