|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] x86: show pagetable walk if guest cannot handle page
This turned out to be a useful debugging aid when a guest (especially
dom0) dies early during boot due to a page fault.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
Index: 2006-09-11/xen/arch/x86/traps.c
===================================================================
--- 2006-09-11.orig/xen/arch/x86/traps.c 2006-09-20 15:52:41.000000000
+0200
+++ 2006-09-11/xen/arch/x86/traps.c 2006-09-20 15:53:06.000000000 +0200
@@ -694,6 +694,8 @@ void propagate_page_fault(unsigned long
tb->error_code = error_code;
tb->cs = ti->cs;
tb->eip = ti->address;
+ if ( !tb->eip )
+ show_page_walk(addr);
if ( TI_GET_IF(ti) )
tb->flags |= TBF_INTERRUPT;
}
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] x86: show pagetable walk if guest cannot handle page fault,
Jan Beulich <=
|
|
|
|
|