summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPavel Butsykin2017-09-18 14:42:29 +0200
committerMax Reitz2017-09-26 15:00:32 +0200
commit46b732cdf3737ea8f9654f6ccd67ff52ddeddc20 (patch)
tree2bacf7bfdcf21d73c098822a236960fb7dd03825 /tests
parentqcow2: add qcow2_cache_discard (diff)
downloadqemu-46b732cdf3737ea8f9654f6ccd67ff52ddeddc20.tar.gz
qemu-46b732cdf3737ea8f9654f6ccd67ff52ddeddc20.tar.xz
qemu-46b732cdf3737ea8f9654f6ccd67ff52ddeddc20.zip
qcow2: add shrink image support
This patch add shrinking of the image file for qcow2. As a result, this allows us to reduce the virtual image size and free up space on the disk without copying the image. Image can be fragmented and shrink is done by punching holes in the image file. Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Message-id: 20170918124230.8152-4-pbutsykin@virtuozzo.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions