Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Norbert Trapp <Norbert.Trapp@ts.fujitsu.com>
To: kexec@lists.infradead.org
Subject: [PATCH 0/3] makedumpfile: Xen4: exclude domU pages for Xen4
Date: Fri, 22 Jun 2012 17:18:05 +0200	[thread overview]
Message-ID: <201206221718.05680.Norbert.Trapp@ts.fujitsu.com> (raw)


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@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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

             reply	other threads:[~2012-06-22 15:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-22 15:18 Norbert Trapp [this message]
2012-06-29  4:30 ` [PATCH 0/3] makedumpfile: Xen4: exclude domU pages for Xen4 Atsushi Kumagai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201206221718.05680.Norbert.Trapp@ts.fujitsu.com \
    --to=norbert.trapp@ts.fujitsu.com \
    --cc=kexec@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox