From: Jan Kiszka Date: Fri, 7 Mar 2014 19:03:14 +0000 (+0100) Subject: KVM: nVMX: Do not inject NMI vmexits when L2 has a pending interrupt X-Git-Tag: v3.15-rc1~118^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=220c56729766444f3dd823f740a147ca6d82c4c6;p=pandora-kernel.git KVM: nVMX: Do not inject NMI vmexits when L2 has a pending interrupt According to SDM 27.2.3, IDT vectoring information will not be valid on vmexits caused by external NMIs. So we have to avoid creating such scenarios by delaying EXIT_REASON_EXCEPTION_NMI injection as long as we have a pending interrupt because that one would be migrated to L1's IDT vectoring info on nested exit. Signed-off-by: Jan Kiszka Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed