[prev in list] [next in list] [prev in thread] [next in thread]
List: xen-cvs
Subject: [Xen-changelog] [xen stable-4.8] x86/NMI: invert condition in nmi_show_execution_state()
From: patchbot () xen ! org
Date: 2018-03-29 1:22:33
Message-ID: E1f1MGv-0006lF-2S () xenbits ! xenproject ! org
[Download RAW message or body]
commit ad9ddc3ad1e36e342f6ffb6773ab416c8d997a1f
Author: Jan Beulich <jbeulich@suse.com>
AuthorDate: Tue Mar 6 16:09:33 2018 +0100
Commit: Jan Beulich <jbeulich@suse.com>
CommitDate: Tue Mar 6 16:09:33 2018 +0100
x86/NMI: invert condition in nmi_show_execution_state()
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>
master commit: 309e0509b7363a895362fcbeac823562c3e18def
master date: 2018-02-06 17:29:59 +0100
---
xen/arch/x86/traps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/arch/x86/traps.c b/xen/arch/x86/traps.c
index 7c6af7069d..85424398bc 100644
--- a/xen/arch/x86/traps.c
+++ b/xen/arch/x86/traps.c
@@ -538,7 +538,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);
+ guest_mode(regs) ? NULL : _p(regs->rip));
cpumask_clear_cpu(cpu, &show_state_mask);
return 1;
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.8
_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xenproject.org
https://lists.xenproject.org/xen-changelog
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic