[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86: fix NMI delivery to dom0



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1171549451 0
# Node ID 1f5e6fb9c652500a9ba032ab25a7dc5b258f8b3d
# Parent  f9c079fca14379048be0d732dcddcd8a8db4b74d
x86: fix NMI delivery to dom0
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 xen/arch/x86/traps.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r f9c079fca143 -r 1f5e6fb9c652 xen/arch/x86/traps.c
--- a/xen/arch/x86/traps.c      Thu Feb 15 14:21:50 2007 +0000
+++ b/xen/arch/x86/traps.c      Thu Feb 15 14:24:11 2007 +0000
@@ -1804,7 +1804,7 @@ static void nmi_dom0_report(unsigned int
 
     set_bit(reason_idx, nmi_reason(d));
 
-    if ( test_and_set_bit(_VCPUF_nmi_pending, &v->vcpu_flags) )
+    if ( !test_and_set_bit(_VCPUF_nmi_pending, &v->vcpu_flags) )
         raise_softirq(NMI_SOFTIRQ); /* not safe to wake up a vcpu here */
 }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.