On 06/19/2013 09:49 PM, Stefan Hajnoczi wrote:
Where does that code live that writes DISKDUMP files?  I can see the
diskdump.[ch] code.

Sorry, I cannot catch what do you mean here.


The file format is pretty bad: we need 4 temporary files and a lot of
data copying to write it out.

Why not just compress an ELF file and teach the crash utility how to
decompress while reading the ELF?

Also, did you look into simply outputting the ELF file without zero
pages?

What I want is a dump file with smaller size. And compressed format and with
zero pages excluded can make it. I choose kdump-compressed format because it is
a standard format and it can realize what I want.

Why 4 temporary files are need? dump-guest-memory may be called with a fd which
is supposed to send data of dump to. If fd is opened on a pipe or etc which is
unable to seek, then I need to cache the data.

--
Regards
Qiao Nuohan

Reply via email to