KVM: SVM: Fix nested nmi handling
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 22 Apr 2010 10:33:07 +0000 (12:33 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:19:17 +0000 (12:19 +0300)
commit924584ccb08c338ebd2f40936ff2321c1cce6a6d
tree27f91ca0999476765c13c6dd0fa03a552f1d59bd
parent8d3b9323095ae977406c7f4e73c9aa0f47682cc2
KVM: SVM: Fix nested nmi handling

The patch introducing nested nmi handling had a bug. The
check does not belong to enable_nmi_window but must be in
nmi_allowed. This patch fixes this.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c