qemu-devel
[Top][All Lists]
Advanced

[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: Wed, 03 Jul 2013 15:39:51 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120607 Thunderbird/10.0.5

On 07/01/2013 07:45 PM, Stefan Hajnoczi wrote:
I'm now convinced that kdump is worthwhile, thanks for providing data.

It would be nice to see the flattened kdump approach.

Hi Stefan and Luiz,

Thanks for Stefan's review again!

I am starting to implement the function using flatten format. And the idea is:

the process will use "seek" to find the place to write if it possible,
otherwise flatten format will be used to avoid "seek" operation.

I send the mail just to make sure if the idea will be accepted by qemu people
and I am spending time on useful thing. Additionally, since the introspection
is not ready yet, the 5th version of my patches will be sent later just to
see if the process of creating kdump-compressed format will be convinced by
qemu people.

P.S.

In flatten format, data will be write to dumpfile block by block, and uses the
following structure to indicate the offset and size of a data block.

struct makedumpfile_data_header {
        int64_t offset;
        int64_t buf_size;
};

For more information, please refer to makedumpfile


http://sourceforge.net/projects/makedumpfile/

--
Regards
Qiao Nuohan



reply via email to

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