diff options
author | Gleb Natapov <gleb@redhat.com> | 2012-08-05 15:58:30 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-08-06 19:00:43 +0300 |
commit | c5cc421ba3219b90f11d151bc55f1608c12830fa (patch) | |
tree | fa21392981697bbc01ed14c8aab98653622c5a33 /arch/x86/kvm/lapic.h | |
parent | a181dc14ed23f7a499542ff4c78532b5f24bb18f (diff) |
KVM: use jump label to optimize checking for HW enabled APIC in APIC_BASE MSR
Usually all APICs are HW enabled so the check can be optimized out.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/lapic.h')
-rw-r--r-- | arch/x86/kvm/lapic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/lapic.h b/arch/x86/kvm/lapic.h index 166766fffd9..73fa299b68e 100644 --- a/arch/x86/kvm/lapic.h +++ b/arch/x86/kvm/lapic.h @@ -78,4 +78,5 @@ static inline bool kvm_hv_vapic_assist_page_enabled(struct kvm_vcpu *vcpu) } int kvm_lapic_enable_pv_eoi(struct kvm_vcpu *vcpu, u64 data); +void kvm_lapic_init(void); #endif |