On 03/06/2013 11:07 PM, Wenchao Xia wrote: > This patch adds function bdrv_query_image_info(), which will > retrieve image info in qmp object format. The implementation are s/are/is/ > based on the code moved from qemu-img.c, but use block layer s/use/uses/ > function to get snapshot info. > > Signed-off-by: Wenchao Xia > --- > block/qapi.c | 39 ++++++++++++++++++++++++++++++++------- > include/block/qapi.h | 7 +++---- > qemu-img.c | 7 ++----- > 3 files changed, 37 insertions(+), 16 deletions(-) Reviewed-by: Eric Blake -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org