On Thu, Jun 06, 2013 at 12:27:56PM +0800, Wenchao Xia wrote: > This series lets qmp interface show delaied info, including internal > snapshot > /backing chain on all block device at runtime, which helps management stack > and > human user, by retrieving exactly the same info of what qemu sees. [...] > V15: > Squash "add recursive member in ImageInfo" patch into 3/6. > Address Stefan's comments: > 5/5: use bool instead of int for variable "verbose". > > Wenchao Xia (5): > 1 block: add snapshot info query function bdrv_query_snapshot_info_list() > 2 block: add image info query function bdrv_query_image_info() > 3 qmp: add ImageInfo in BlockDeviceInfo used by query-block > 4 hmp: show ImageInfo in 'info block' > 5 hmp: add parameters device and -v for info block > > block/qapi.c | 148 > ++++++++++++++++++++++++++++++++++++++++++-------- > hmp.c | 21 +++++++ > include/block/qapi.h | 14 +++-- > monitor.c | 7 ++- > qapi-schema.json | 10 +++- > qemu-img.c | 10 +++- > qmp-commands.hx | 69 +++++++++++++++++++++++- > 7 files changed, 242 insertions(+), 37 deletions(-) > >
Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan