commit | 56ba47ddbd5af7918bf1acdbe3deb979d0dcd64b | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Wed Nov 07 17:14:18 2007 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Thu Nov 08 12:05:43 2007 +0200 |
tree | 791ae295a0cb48c82aa66ad3aaf0485cf5853185 | |
parent | 70433389ccfe2719ef5cd539d04172260294f0f5 [diff] |
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: Avi Kivity <avi@qumranet.com>