diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-05-30 16:04:20 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-05-30 16:04:20 +0100 |
commit | 96967abdc7dc36c793d136122101cbb73d29c73a (patch) | |
tree | e972c0dedeaa3615292203f82595b4b3b323616a /xen/arch/x86/crash.c | |
parent | 3ffdbd856936ca2ce99464568e30e080ebb1ff8e (diff) | |
download | xen-96967abdc7dc36c793d136122101cbb73d29c73a.tar.gz xen-96967abdc7dc36c793d136122101cbb73d29c73a.tar.bz2 xen-96967abdc7dc36c793d136122101cbb73d29c73a.zip |
Add xen_phys_start value in the crash info note
This patch makes the vmcore utilities (ex. crash, makedumpfile) be
able to get the relocation address of the xen hypervisor from a
vmcore. It is necessary for the utilities to find the data of the
hypervisor structures.
Note that this patch does not raise any comptibility issue for the
utilities (which I know) nor the other components of xen.
Signed-off-by: Itsuro Oda <oda@valinux.co.jp>
Diffstat (limited to 'xen/arch/x86/crash.c')
-rw-r--r-- | xen/arch/x86/crash.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/arch/x86/crash.c b/xen/arch/x86/crash.c index 831dc7e04d..d38f969d02 100644 --- a/xen/arch/x86/crash.c +++ b/xen/arch/x86/crash.c @@ -102,6 +102,7 @@ void machine_crash_shutdown(void) hvm_cpu_down(); info = kexec_crash_save_info(); + info->xen_phys_start = xen_phys_start; info->dom0_pfn_to_mfn_frame_list_list = arch_get_pfn_to_mfn_frame_list_list(dom0); } |