+36
−30
+4
−2
+5
−4
+4
−3
Loading
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>