« Previous | Next » 

Revision fb0ed453

IDfb0ed4539c6f02fa9e5a3cf9df2549713451eeca

Added by Wenchao Xia almost 11 years ago

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 <>
Reviewed-by: Eric Blake <>
Signed-off-by: Stefan Hajnoczi <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences