Re: [Qemu-devel] [PATCH 04/13 v7] dump: add API to write vmcore

2014-01-22 Thread Laszlo Ersek
On 01/17/14 08:46, qiaonuohan wrote: Function is used to write vmcore in flatten format. In flatten format, data is written block by block, and in front of each block, a struct MakedumpfileDataHeader is stored there to indicate the offset and size of the data block. struct

[Qemu-devel] [PATCH 04/13 v7] dump: add API to write vmcore

2014-01-16 Thread qiaonuohan
Function is used to write vmcore in flatten format. In flatten format, data is written block by block, and in front of each block, a struct MakedumpfileDataHeader is stored there to indicate the offset and size of the data block. struct MakedumpfileDataHeader { int64_t offset; int64_t