commit | 43526ec8d1395fe4efbed15e9764b64641b95bcc | [log] [tgz] |
---|---|---|
author | Wenchao Xia <xiawenc@linux.vnet.ibm.com> | Thu Jun 06 12:27:58 2013 +0800 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Fri Jun 07 13:37:45 2013 +0200 |
tree | ccad569dfd421aadc160f34d67cc527a7cbacb1f | |
parent | fb0ed4539c6f02fa9e5a3cf9df2549713451eeca [diff] |
block: add image info query function bdrv_query_image_info() This patch adds function bdrv_query_image_info(), which will retrieve image info in qmp object format. The implementation is based on the code moved from qemu-img.c, but uses block layer function to get snapshot info. Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>