commit | 5b91704469c0f801e0219f26458356872c4145ab | [log] [tgz] |
---|---|---|
author | Wenchao Xia <xiawenc@linux.vnet.ibm.com> | Sat May 25 11:09:45 2013 +0800 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Jun 04 13:56:30 2013 +0200 |
tree | 604c6165a9af9a58c320b5480192b48909de3f96 | |
parent | f364ec65b56b69c55b674cb6560aa1fbbea9e013 [diff] |
block: dump snapshot and image info to specified output bdrv_snapshot_dump() and bdrv_image_info_dump() do not dump to a buffer now, some internal buffers are still used for format control, which have no chance to be truncated. As a result, these two functions have no more issue of truncation, and they can be used by both qemu and qemu-img with correct parameter specified. Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>