diff options
author | Yang, Sheng <sheng.yang@intel.com> | 2007-09-12 06:03:11 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-10-13 04:18:26 -0400 |
commit | 6e5d865c0b9679b00b5e5f0754c9fc2b6b9894d6 (patch) | |
tree | 1b8133926578a16f8849143da5a7d5a6d9e67b24 /drivers/kvm/irq.h | |
parent | 2a8067f17b8442ecce0b14e134823020ff33b4fa (diff) |
KVM: VMX: Use shadow TPR/cr8 for 64-bits guests
This patch enables TPR shadow of VMX on CR8 access. 64bit Windows using
CR8 access TPR frequently. The TPR shadow can improve the performance of
access TPR by not causing vmexit.
Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/irq.h')
-rw-r--r-- | drivers/kvm/irq.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/kvm/irq.h b/drivers/kvm/irq.h index 24b871f9b5fc..07035e8279d4 100644 --- a/drivers/kvm/irq.h +++ b/drivers/kvm/irq.h | |||
@@ -152,5 +152,7 @@ int kvm_apic_set_irq(struct kvm_lapic *apic, u8 vec, u8 trig); | |||
152 | void kvm_apic_post_state_restore(struct kvm_vcpu *vcpu); | 152 | void kvm_apic_post_state_restore(struct kvm_vcpu *vcpu); |
153 | int kvm_ioapic_init(struct kvm *kvm); | 153 | int kvm_ioapic_init(struct kvm *kvm); |
154 | void kvm_ioapic_set_irq(struct kvm_ioapic *ioapic, int irq, int level); | 154 | void kvm_ioapic_set_irq(struct kvm_ioapic *ioapic, int irq, int level); |
155 | int kvm_lapic_enabled(struct kvm_vcpu *vcpu); | ||
156 | int kvm_lapic_find_highest_irr(struct kvm_vcpu *vcpu); | ||
155 | 157 | ||
156 | #endif | 158 | #endif |