At 10/18/2011 11:27 PM, Jan Kiszka Write: > On 2011-10-18 17:04, Wen Congyang wrote: >> On 10/18/2011 10:21 PM, Jan Kiszka wrote: >>> On 2011-10-18 16:17, Wen Congyang wrote: >>> >>> I was talking about information you need in the crash dump file that is >>> not contained in those files crash processes by default. If there is no >>> such information, then it looks strange to me defining a new format. >> >> Sorry for my bad english, I can not understant what information you are >> talking about. >> >> Do you mean if the core file does not contains such information and crash >> can not process it? > > OK, I guess we are just talking past each other: > > Are you proposing the kernel dump format (as crash takes for its > "dumpfile" parameter)? Should QEMU write out dumps in that file format?
Yes. We can reuse gdbstub's code, and use gdb scripts to instead of crash. But I do not like this way, because we should know the guest kernel version and it's config file. We should do too many things that crash has done for us. So I think qemu should write out dumps in that file format. Thanks Wen Congyang > > Jan >