When PV is disabled those symbols won't be available. It is impossible for Xen to hit #DB there.
Signed-off-by: Wei Liu <wei.l...@citrix.com> --- v2: new --- xen/arch/x86/traps.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/x86/traps.c b/xen/arch/x86/traps.c index 002e98f..7cca072 100644 --- a/xen/arch/x86/traps.c +++ b/xen/arch/x86/traps.c @@ -1841,6 +1841,7 @@ void do_debug(struct cpu_user_regs *regs) if ( regs->eflags & X86_EFLAGS_TF ) { +#ifdef CONFIG_PV /* In SYSENTER entry path we can't zap TF until EFLAGS is saved. */ if ( (regs->rip >= (unsigned long)sysenter_entry) && (regs->rip <= (unsigned long)sysenter_eflags_saved) ) @@ -1849,6 +1850,7 @@ void do_debug(struct cpu_user_regs *regs) regs->eflags &= ~X86_EFLAGS_TF; return; } +#endif if ( !debugger_trap_fatal(TRAP_debug, regs) ) { WARN(); -- git-series 0.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel