mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86: fix NMI delivery to dom0
Signed-off-by: Jan Beulich <jbeulich@novell.com>
This commit is contained in:
1 parent
56c508cce0
commit
eb9ec1a8a8
1 file changed
+1
-1
@@ -1804,7 +1804,7 @@ static void nmi_dom0_report(unsigned int reason_idx)
|
||||
|
||||
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 */
|
||||
}
|
||||
|
||||
|
||||