KVM: VMX: Rewrite vmx_complete_interrupt()'s twisted maze of if() statements
authorGleb Natapov <gleb@redhat.com>
Mon, 30 Mar 2009 13:03:13 +0000 (16:03 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:37 +0000 (11:48 +0300)
...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 <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found