]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
KVM: SVM: Defer nmi processing until switch to host state is complete
authorAvi Kivity <avi@qumranet.com>
Wed, 7 Nov 2007 15:14:18 +0000 (17:14 +0200)
committerAvi Kivity <avi@qumranet.com>
Thu, 8 Nov 2007 10:05:43 +0000 (12:05 +0200)
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>

No differences found