Since b94a2610, bdrv_getlength() is omitted when probing image. VMDK
monolithicFlat is broken by that because a file 512 bytes can't be
read with its total_sectors truncated to 0. This patch round up the size
to BDRV_SECTOR_SIZE, when a image size is not sector aligned.
Signed-off-by: Fam Zheng
Le Wednesday 06 Nov 2013 à 19:48:06 (+0800), Fam Zheng a écrit :
Since b94a2610, bdrv_getlength() is omitted when probing image. VMDK
monolithicFlat is broken by that because a file 512 bytes can't be
read with its total_sectors truncated to 0. This patch round up the size
to