From: Gleb Natapov Date: Mon, 30 Mar 2009 13:03:13 +0000 (+0300) Subject: KVM: VMX: Rewrite vmx_complete_interrupt()'s twisted maze of if() statements X-Git-Tag: v2.6.31-rc1~393^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37b96e988053c4dd21811b0408a12f8f60b4d0c8;p=pandora-kernel.git KVM: VMX: Rewrite vmx_complete_interrupt()'s twisted maze of if() statements ...with a more straightforward switch(). Also fix a bug when NMI could be dropped on exit. Although this should never happen in practice, since NMIs can only be injected, never triggered internally by the guest like exceptions. Signed-off-by: Gleb Natapov Signed-off-by: Avi Kivity --- Reading git-diff-tree failed