Skip to content
Commit f2485b3e authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: x86: use guest_exit_irqoff



This gains a few clock cycles per vmexit.  On Intel there is no need
anymore to enable the interrupts in vmx_handle_external_intr, since
we are using the "acknowledge interrupt on exit" feature.  AMD
needs to do that, and must be careful to avoid the interrupt shadow.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 91fa0f8e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment