KVM: x86: better fix for race between nmi injection and enabling nmi window
commit1499e54af03ae51a937c59035bc86002deae0572
authorGleb Natapov <gleb@redhat.com>
Fri, 1 Apr 2011 14:26:29 +0000 (1 11:26 -0300)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:56:57 +0000 (11 07:56 -0400)
tree89f75af765784f573f818737e7aa3392eaabac52
parentc761e5868e6737abe0464636ebd7fcbb6814c626
KVM: x86: better fix for race between nmi injection and enabling nmi window

Fix race between nmi injection and enabling nmi window in a simpler way.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c