Re: [Qemu-devel] [PATCH 08/10] block/dmg: fix sector data offset calculation

2015-01-03 Thread Peter Wu
On Friday 02 January 2015 19:05:29 John Snow wrote: > On 12/27/2014 10:01 AM, Peter Wu wrote: > > This patch addresses two issues: > > > > - The data fork offset was not taken into account, resulting in failure > > to read an InstallESD.dmg file (5164763151 bytes) which had a > > non-zero

Re: [Qemu-devel] [PATCH 08/10] block/dmg: fix sector data offset calculation

2015-01-02 Thread John Snow
On 12/27/2014 10:01 AM, Peter Wu wrote: This patch addresses two issues: - The data fork offset was not taken into account, resulting in failure to read an InstallESD.dmg file (5164763151 bytes) which had a non-zero DataForkOffset field. - The offset of the previous block ("partiti

[Qemu-devel] [PATCH 08/10] block/dmg: fix sector data offset calculation

2014-12-27 Thread Peter Wu
This patch addresses two issues: - The data fork offset was not taken into account, resulting in failure to read an InstallESD.dmg file (5164763151 bytes) which had a non-zero DataForkOffset field. - The offset of the previous block ("partition") was unconditionally added to the current