projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0115f9
)
x86/NMI: invert condition in nmi_show_execution_state()
author
Jan Beulich
<jbeulich@suse.com>
Tue, 6 Feb 2018 16:29:59 +0000
(17:29 +0100)
committer
Jan Beulich
<jbeulich@suse.com>
Tue, 6 Feb 2018 16:29:59 +0000
(17:29 +0100)
We want to decode the symbol when _not_ in guest mode.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/traps.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/traps.c
b/xen/arch/x86/traps.c
index 1187fd9c25ff7a7ff375fa5e0a6cfd94c8b92496..2e022b09b85a714d68966688ffa4ea1246db9537 100644
(file)
--- a/
xen/arch/x86/traps.c
+++ b/
xen/arch/x86/traps.c
@@
-632,7
+632,7
@@
static int nmi_show_execution_state(const struct cpu_user_regs *regs, int cpu)
show_execution_state(regs);
else
printk(XENLOG_ERR "CPU%d @ %04x:%08lx (%pS)\n", cpu, regs->cs,
- regs->rip, guest_mode(regs) ?
_p(regs->rip) : NULL
);
+ regs->rip, guest_mode(regs) ?
NULL : _p(regs->rip)
);
cpumask_clear_cpu(cpu, &show_state_mask);
return 1;