aboutsummaryrefslogtreecommitdiff
path: root/block/vhdx-log.c
diff options
context:
space:
mode:
authorPeter Lieven <pl@kamp.de>2015-03-03 11:41:52 +0100
committerMax Reitz <mreitz@redhat.com>2015-03-16 12:10:30 -0400
commit2ec711dcd45effc8d583dee6ff92d94573aad75b (patch)
treed4ce6f22e5d6d1a5508366af204b18029ff0580c /block/vhdx-log.c
parentd51a2427f68a312b676edd0e9efce881649d1767 (diff)
downloadqemu-2ec711dcd45effc8d583dee6ff92d94573aad75b.zip
qemu-2ec711dcd45effc8d583dee6ff92d94573aad75b.tar.gz
qemu-2ec711dcd45effc8d583dee6ff92d94573aad75b.tar.bz2
block/vpc: optimize vpc_co_get_block_status
*pnum can't be greater than s->block_size / BDRV_SECTOR_SIZE for allocated sectors since there is always a bitmap in between. Signed-off-by: Peter Lieven <pl@kamp.de> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-id: 1425379316-19639-2-git-send-email-pl@kamp.de Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/vhdx-log.c')
0 files changed, 0 insertions, 0 deletions