[PATCH 0/3] makedumpfile: Xen4: exclude domU pages for Xen4

Atsushi Kumagai kumagai-atsushi at mxc.nes.nec.co.jp
Fri Jun 29 00:30:38 EDT 2012


Hello Norbert,

Thank you for your work.

But, I don't know much about Xen, so I want to ask for help from Zhangfengwei
and other experts in Xen.


Thanks
Atsushi Kumagai


On Fri, 22 Jun 2012 17:18:05 +0200
Norbert Trapp <Norbert.Trapp at ts.fujitsu.com> wrote:

> 
> Saving just the dom0 and Xen pages is a good idea because usually
> the crash can be analysed in dom0 and saving just the Xen and dom0 pages
> allows the machine to restart quickly.
> 
> makedumpfile needs to be modified to exclude domU pages when using Xen4
> since the Xen implementation has changed. The Xen version can be determined
> in the kcore file and then either Xen3 or Xen4 functions are used. The other
> modifications are based on the goal of quickly finding the dom0 and Xen pages.
> 
> The domU page exclusion for Xen4 is implemented so far just for x86_64.
> 
> The kvtop_xen_x86_64 modification for a faster method to run through the page
> table	(last_p.._read)	was seen in the crash utility source code.
> 
>  arch/x86_64.c  |  244 ++++++++++++++++++++++++++++----------
>  elf_info.c     |    2 +
>  makedumpfile.c |  362 ++++++++++++++++++++++++++++++++++++++++++++++++++++----
>  makedumpfile.h |   79 +++++++++++--
>  4 files changed, 591 insertions(+), 96 deletions(-)
> 
> With kind regards
> 
> Norbert Trapp
> PDG ES&S SWE OS 6
> 
> FUJITSU
> Fujitsu Technology Solutions GmbH
> Domagkstrasse 28, D-80807 Muenchen, Germany
> E-mail: Norbert.Trapp at xxxxxxxxxxxxxx
> Web: ts.fujitsu.com
> Company details: ts.fujitsu.com/imprint
> Please be advised that neither Fujitsu, its affiliates, its employees or agents accept liability for any errors,
> omissions or damages caused by delays of receipt or by any virus infection in this message or its attachments,
> or which may otherwise arise as a result of this e-mail transmission.
> 
> 
> _______________________________________________
> kexec mailing list
> kexec at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec



More information about the kexec mailing list