commit | 37b96e988053c4dd21811b0408a12f8f60b4d0c8 | [log] [tgz] |
---|---|---|
author | Gleb Natapov <gleb@redhat.com> | Mon Mar 30 16:03:13 2009 +0300 |
committer | Avi Kivity <avi@redhat.com> | Wed Jun 10 11:48:37 2009 +0300 |
tree | 8f738a60f749f535a843eedf9dd343d83c9c724c | |
parent | 7b4a25cb296e2a73d2e87a4af65361d45d450a27 [diff] |
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 <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>