aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/lapic.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/lapic.h')
-rw-r--r--arch/x86/kvm/lapic.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/kvm/lapic.h b/arch/x86/kvm/lapic.h
index 447b654aefbb..676c396c9cee 100644
--- a/arch/x86/kvm/lapic.h
+++ b/arch/x86/kvm/lapic.h
@@ -18,6 +18,8 @@ struct kvm_lapic {
18 struct kvm_vcpu *vcpu; 18 struct kvm_vcpu *vcpu;
19 struct page *regs_page; 19 struct page *regs_page;
20 void *regs; 20 void *regs;
21 gpa_t vapic_addr;
22 struct page *vapic_page;
21}; 23};
22int kvm_create_lapic(struct kvm_vcpu *vcpu); 24int kvm_create_lapic(struct kvm_vcpu *vcpu);
23void kvm_free_lapic(struct kvm_vcpu *vcpu); 25void kvm_free_lapic(struct kvm_vcpu *vcpu);
@@ -41,4 +43,8 @@ int kvm_lapic_enabled(struct kvm_vcpu *vcpu);
41int kvm_lapic_find_highest_irr(struct kvm_vcpu *vcpu); 43int kvm_lapic_find_highest_irr(struct kvm_vcpu *vcpu);
42void kvm_apic_timer_intr_post(struct kvm_vcpu *vcpu, int vec); 44void kvm_apic_timer_intr_post(struct kvm_vcpu *vcpu, int vec);
43 45
46void kvm_lapic_set_vapic_addr(struct kvm_vcpu *vcpu, gpa_t vapic_addr);
47void kvm_lapic_sync_from_vapic(struct kvm_vcpu *vcpu);
48void kvm_lapic_sync_to_vapic(struct kvm_vcpu *vcpu);
49
44#endif 50#endif