[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-ia64-devel] [PATCH] [6/6] panic stack trace: adds hook for vmx domain
6/6 inserted break 0x0 hook to vmx_process.c. This patch is included for completeness. Since 'break 0x0' is handled in vmx_ivt.S, this patch is of no effect. Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx> -- diff -r 8a92e8091a2f -r c4ee4184f0a4 xen/arch/ia64/vmx/vmx_process.c --- a/xen/arch/ia64/vmx/vmx_process.c Wed Dec 28 15:29:23 2005 +0900 +++ b/xen/arch/ia64/vmx/vmx_process.c Wed Dec 28 15:30:35 2005 +0900 @@ -53,6 +53,7 @@ #define INITIAL_PSR_VALUE_AT_INTERRUPTION 0x0000001808028034 +extern void die_if_kernel(char *str, struct pt_regs *regs, long err); extern void rnat_consumption (VCPU *vcpu); #define DOMN_PAL_REQUEST 0x110000 @@ -185,8 +186,11 @@ }else if(iim == DOMN_PAL_REQUEST){ pal_emul(current); vmx_vcpu_increment_iip(current); - } else + } else { + if (iim == 0) + die_if_kernel("bug check", regs, iim); vmx_reflect_interruption(ifa,isr,iim,11,regs); + } } -- yamahata _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |