On Mon, Jul 28, 2014 at 08:23:51PM +0400, Denis V. Lunev wrote: > Parallels has released in the recent updates of Parallels Server 5/6 > new addition to his image format. Images with signature WithouFreSpacExt > have offsets in the catalog coded not as offsets in sectors (multiple > of 512 bytes) but offsets coded in blocks (i.e. header->tracks * 512) > > In this case to code the virtual disk size for such images nb_sectors > field is extended to 64 bits. The reader of older images with signature > WithoutFreeSpace must manually zero most valuable bits of nb_sectors > on open. > > Changes from v1: > - fixed message in patch 1 > - added braces to conform qemu coding style in patches 3 & 4 > - added check for ph.tracks in patch 4 to avoid offset overflow as suggested > by Jeff > > Signed-off-by: Denis V. Lunev > CC: Kevin Wolf > CC: Stefan Hajnoczi > CC: Jeff Cody Sorry for the delay. Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan