KVM: Accelerated apic support
This adds a mechanism for exposing the virtual apic tpr to the guest, and a
protocol for letting the guest update the tpr without causing a vmexit if
conditions allow (e.g. there is no interrupt pending with a higher priority
than the new tpr).
Signed-off-by:
Avi Kivity <avi@qumranet.com>
Showing
- arch/x86/kvm/lapic.c 50 additions, 1 deletionarch/x86/kvm/lapic.c
- arch/x86/kvm/lapic.h 6 additions, 0 deletionsarch/x86/kvm/lapic.h
- arch/x86/kvm/x86.c 55 additions, 0 deletionsarch/x86/kvm/x86.c
- include/linux/kvm.h 7 additions, 0 deletionsinclude/linux/kvm.h
- include/linux/kvm_para.h 2 additions, 0 deletionsinclude/linux/kvm_para.h
Please register or sign in to comment