[Crash-utility] [PATCH] add support to "virsh dump-guest-memory"(qemu memory dump)

qiaonuohan qiaonuohan at cn.fujitsu.com
Fri Jul 20 06:25:58 UTC 2012


Hello Dave,

I made this patch to make crash can analyze core dump file created by
"virsh dump-guest-memory"(I will call it "qemu memory dump" below). In
my test(guest OS: RHEL6.2 x86 & x86_64), the patch works well with dump
files created by "qemu memory dump".

However, after some investigation, I think I need to discuss further
works with you.

The core dump created by qemu memory dump is similar to kdump. The
distinctness only focuses on note sections. The former one gets
note sections with a name called "QEMU".

1. Some registers' information stored in "CORE" note sections, needed
by crash, also stores in "QEMU" note sections. I think it's not
reasonable to replace them. What do you think?

2. Other registers which are only stored in "QEMU" note sections are
not directly used in crash. I will continue investigating the use of
these registers. And if you give some suggestion, it will be helpful.

-- 
--
Regards
Qiao Nuohan


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-support-to-qemu-memory-dump.patch
Type: text/x-patch
Size: 20324 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20120720/029d564d/attachment.bin>


More information about the Crash-utility mailing list