Skip to content
Snippets Groups Projects
Commit 43526ec8 authored by Wenchao Xia's avatar Wenchao Xia Committed by Stefan Hajnoczi
Browse files

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: default avatarWenchao Xia <xiawenc@linux.vnet.ibm.com>
Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
parent fb0ed453
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment