From: Gleb Natapov Date: Mon, 11 May 2009 10:35:52 +0000 (+0300) Subject: KVM: inject NMI after IRET from a previous NMI, not before. X-Git-Tag: v2.6.31-rc1~393^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44c11430b52cbad0a467bc023a802d122dfd285c;p=pandora-kernel.git KVM: inject NMI after IRET from a previous NMI, not before. If NMI is received during handling of another NMI it should be injected immediately after IRET from previous NMI handler, but SVM intercept IRET before instruction execution so we can't inject pending NMI at this point and there is not way to request exit when NMI window opens. This patch fix SVM code to open NMI window after IRET by single stepping over IRET instruction. Signed-off-by: Gleb Natapov Signed-off-by: Avi Kivity --- Reading git-diff-tree failed