From 56ba47ddbd5af7918bf1acdbe3deb979d0dcd64b Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Wed, 7 Nov 2007 17:14:18 +0200 Subject: [PATCH] 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 --- Reading git-format-patch failed