mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
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: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
91fa0f8e9e
commit
f2485b3e0c
3 changed files with 9 additions and 12 deletions
Loading…
Add table
Add a link
Reference in a new issue