]> git.proxmox.com Git - mirror_qemu.git/commit - qemu-io-cmds.c
block/qapi: Human-readable ImageInfoSpecific dump
authorMax Reitz <mreitz@redhat.com>
Wed, 9 Oct 2013 08:46:17 +0000 (10:46 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 11 Oct 2013 08:52:54 +0000 (10:52 +0200)
commita8d8ecb77fc16da49ea2c1edae267dc9d0c01dfd
tree2dc5f72ca4fb6ea78111f33e2be82fc11e42998e
parenteae041fe6f4314962e873615134eefb32cf8ba61
block/qapi: Human-readable ImageInfoSpecific dump

Add a function for generically dumping the ImageInfoSpecific information
in a human-readable format to block/qapi.c.

Use this function in bdrv_image_info_dump and qemu-io-cmds.c:info_f to
allow qemu-img info resp. qemu-io -c info to print that format specific
information.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qapi.c
include/block/qapi.h
qemu-io-cmds.c