Re: [Qemu-devel] [PATCH v2 07/12] block/dmg: set virtual size to a non-zero value

2015-01-07 Thread John Snow
On 01/06/2015 12:48 PM, Peter Wu wrote: Right now the virtual size is always reported as zero which makes it impossible to convert between formats. After this patch, the number of sectors will be read from the trailer (koly block). To verify the behavior, the output of `dmg2img foo.dmg

[Qemu-devel] [PATCH v2 07/12] block/dmg: set virtual size to a non-zero value

2015-01-06 Thread Peter Wu
Right now the virtual size is always reported as zero which makes it impossible to convert between formats. After this patch, the number of sectors will be read from the trailer (koly block). To verify the behavior, the output of `dmg2img foo.dmg foo.img` was compared against `qemu-img convert