Re: [Qemu-block] [PATCH v2 3/3] dmg: don't skip zero chunk

2019-01-02 Thread Stefan Hajnoczi
On Sun, Dec 23, 2018 at 10:59:39AM +0800, yuchenlin wrote: > The dmg file has many tables which describe: "start from sector XXX to > sector XXX, the compression method is XXX and where the compressed data > resides on". > > Each sector in the expanded file should be covered by a table. The table

[Qemu-block] [PATCH v2 3/3] dmg: don't skip zero chunk

2018-12-22 Thread yuchenlin
The dmg file has many tables which describe: "start from sector XXX to sector XXX, the compression method is XXX and where the compressed data resides on". Each sector in the expanded file should be covered by a table. The table will describe the offset of compressed data (or raw depends on the ty