mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86: Fix NMI injection to PV guests
Signed-off-by: Juergen Gross <juergen.gross@ts.fujitsu.com> xen-unstable changeset: 21926:6f07d9ac1e7c xen-unstable date: Thu Aug 05 14:41:14 2010 +0100
This commit is contained in:
1 parent
fb3f71889c
commit
4f874dc24f
3 files changed
+3
-3
No files matched your search
@@ -275,7 +275,7 @@ process_mce:
|
||||
ALIGN
|
||||
/* %ebx: struct vcpu */
|
||||
process_nmi:
|
||||
cmpw $1 << VCPU_TRAP_NMI,VCPU_async_exception_mask(%ebx)
|
||||
testb $1 << VCPU_TRAP_NMI,VCPU_async_exception_mask(%ebx)
|
||||
jnz test_guest_events
|
||||
sti
|
||||
movb $0,VCPU_nmi_pending(%ebx)
|
||||
|
||||
@@ -148,7 +148,7 @@ compat_process_mce:
|
||||
ALIGN
|
||||
/* %rbx: struct vcpu */
|
||||
compat_process_nmi:
|
||||
cmpw $1 << VCPU_TRAP_NMI,VCPU_async_exception_mask(%rbx)
|
||||
testb $1 << VCPU_TRAP_NMI,VCPU_async_exception_mask(%rbx)
|
||||
jnz compat_test_guest_events
|
||||
sti
|
||||
movb $0,VCPU_nmi_pending(%rbx)
|
||||
|
||||
@@ -250,7 +250,7 @@ process_mce:
|
||||
ALIGN
|
||||
/* %rbx: struct vcpu */
|
||||
process_nmi:
|
||||
cmpw $1 << VCPU_TRAP_NMI,VCPU_async_exception_mask(%rbx)
|
||||
testb $1 << VCPU_TRAP_NMI,VCPU_async_exception_mask(%rbx)
|
||||
jnz test_guest_events
|
||||
sti
|
||||
movb $0,VCPU_nmi_pending(%rbx)
|
||||
|
||||