commit | 51aa01d13d4a64422cf8095205fc4a02322aca2c | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Tue Jul 20 14:31:20 2010 +0300 |
committer | Avi Kivity <avi@redhat.com> | Sun Oct 24 10:52:51 2010 +0200 |
tree | 362110e17562f7f1e89c114af5447c8f0275bac3 | |
parent | 3842d135ff246b6543f1df77f5600e12094a6845 [diff] |
KVM: VMX: Split up vmx_complete_interrupts() vmx_complete_interrupts() does too much, split it up: - vmx_vcpu_run() gets the "cache important vmcs fields" part - a new vmx_complete_atomic_exit() gets the parts that must be done atomically - a new vmx_recover_nmi_blocking() does what its name says - vmx_complete_interrupts() retains the event injection recovery code This helps in reducing the work done in atomic context. Signed-off-by: Avi Kivity <avi@redhat.com>