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

2015-01-02 Thread John Snow
On 12/27/2014 10:01 AM, 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 BLXX (mish) header. Do you mean to say from the 'koly' header?

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

2014-12-27 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 BLXX (mish) header. To verify the behavior, the output of `dmg2img foo.dmg foo.img` was compared against `qemu-img convert -f