commit | fb0ed4539c6f02fa9e5a3cf9df2549713451eeca | [log] [tgz] |
---|---|---|
author | Wenchao Xia <xiawenc@linux.vnet.ibm.com> | Thu Jun 06 12:27:57 2013 +0800 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Fri Jun 07 13:37:45 2013 +0200 |
tree | 208ab0793bd0c675d8b9a88869f053352d99b586 | |
parent | bd07684aacfb61668ae2c25b7dd00b64f3d7c7f3 [diff] |
block: add snapshot info query function bdrv_query_snapshot_info_list() 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 <xiawenc@linux.vnet.ibm.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>