On 03/06/2013 11:07 PM, Wenchao Xia wrote: > This patch adds function bdrv_query_snapshot_info_list(), which will > retrieve snapshot info of an image in qmp object format. The implementation > is based on the code moved from qemu-img.c with modification to fit more > for qmp based block layer API. > > Signed-off-by: Wenchao Xia > --- > block/qapi.c | 52 +++++++++++++++++++++++++++++++++++++------------ > include/block/qapi.h | 4 ++- > qemu-img.c | 4 ++- > 3 files changed, 45 insertions(+), 15 deletions(-) Reviewed-by: Eric Blake -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org