diff options
author | Alex Williamson <alex.williamson@hp.com> | 2007-10-22 12:26:53 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@hp.com> | 2007-10-22 12:26:53 -0600 |
commit | 34070c37f55e7b04f2dc9d6e9f71ea238d8131fa (patch) | |
tree | 71b986b26d1bb7d1922c6d76e8474c70d7231e3a /docs/misc/dump-core-format.txt | |
parent | de5d56f31dd18fde2297e6f7ea1a1bc2e809ffe5 (diff) | |
download | xen-34070c37f55e7b04f2dc9d6e9f71ea238d8131fa.tar.gz xen-34070c37f55e7b04f2dc9d6e9f71ea238d8131fa.tar.bz2 xen-34070c37f55e7b04f2dc9d6e9f71ea238d8131fa.zip |
[IA64] Don't share privregs with hvm domain
Don't share privregs with hvm domain and twist IA64 xen dump core format
slightly. Xen shares privregs pages with IA64 HVM domain for xm dump-core
to dump the pages. However sharing the page allows hvm guest domain
peek/destroy the page contents that might cause xen crash. And the xen
dump core file doesn't need privregs page because cpu context should be
obtained from vcpu context in case of IA64 HVM domain.
Although this patch modify xen dump core format, current crash utility
(at least crash 4.0-4.7) doesn't look into .xen_ia64_mmapped_regs section
and I don't know any other tools to understand xen dump core file.
So this format modification doesn't cause incompatibility issue.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Diffstat (limited to 'docs/misc/dump-core-format.txt')
-rw-r--r-- | docs/misc/dump-core-format.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/misc/dump-core-format.txt b/docs/misc/dump-core-format.txt index aa32d810d8..bc1842c747 100644 --- a/docs/misc/dump-core-format.txt +++ b/docs/misc/dump-core-format.txt @@ -127,8 +127,10 @@ Currently the following sections are defined. Some sections are optional. This section stores the array of mapped_regs_t. The size of array is stored in xch_nr_vcpus member of header note descriptor in .note.Xen note section. - This section is ia64 specific and must exist for ia64 domain. - This section must not exist for non-ia64 domain. + This section is ia64 specific and must exist for ia64 PV + domain. + This section must not exist for non-ia64 domain or ia64 HVM + domain. note section @@ -237,3 +239,5 @@ Currently only (major, minor) = (0, 1) is used. - EI_CLASS member of elf header was changed to ELFCLASS64 independent of architecture. This is mainly for x86_32pae. The format version isn't bumped because analysis tools can distinguish it. +- .xen_ia64_mapped_regs section was made only for ia64 PV domain. + In case of IA64 HVM domain, this section doesn't exist. |