[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 0/9] Make 'dump-guest-memory' dump in kdump-c

From: Qiao Nuohan
Subject: Re: [Qemu-devel] [PATCH v4 0/9] Make 'dump-guest-memory' dump in kdump-compressed format
Date: Thu, 20 Jun 2013 10:18:35 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120607 Thunderbird/10.0.5

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

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.

Qiao Nuohan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]