Skip to content
Commit 56ba47dd authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: SVM: Defer nmi processing until switch to host state is complete



If we stgi() too soon, nmis can reach the processor even though interrupts
are disabled, catching it in a half-switched state.  Delay the stgi() until
we're done switching.

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 70433389
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment