aboutsummaryrefslogtreecommitdiff
path: root/block/vhdx.c
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2020-03-11 13:29:59 +0300
committerMax Reitz <mreitz@redhat.com>2020-03-11 12:42:30 +0100
commit2d57511a88e71485f745ad3dc0afe03b87a8ad5e (patch)
tree5f0ff0f0907b1384ae79425e518d2934d6e860f4 /block/vhdx.c
parent9d31bc53facf53d6f817c2472d4d0485d7bc5d8e (diff)
downloadqemu-2d57511a88e71485f745ad3dc0afe03b87a8ad5e.zip
qemu-2d57511a88e71485f745ad3dc0afe03b87a8ad5e.tar.gz
qemu-2d57511a88e71485f745ad3dc0afe03b87a8ad5e.tar.bz2
block/block-copy: use block_status
Use bdrv_block_status_above to chose effective chunk size and to handle zeroes effectively. This substitutes checking for just being allocated or not, and drops old code path for it. Assistance by backup job is dropped too, as caching block-status information is more difficult than just caching is-allocated information in our dirty bitmap, and backup job is not good place for this caching anyway. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-Id: <20200311103004.7649-5-vsementsov@virtuozzo.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/vhdx.c')
0 files changed, 0 insertions, 0 deletions