diff options
author | Avi Kivity <avi@redhat.com> | 2011-11-10 12:57:21 (GMT) |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-12-27 09:23:39 (GMT) |
commit | 893420822192f717af6fde927c9e78c9b82f8327 (patch) | |
tree | ee13dca53f1205b01c7390cf79a8d9689f018e99 /arch/x86/kvm/lapic.h | |
parent | e0dac408d08c2a5e1bed2a6a9da7f3af3f7a9827 (diff) | |
download | linux-fsl-qoriq-893420822192f717af6fde927c9e78c9b82f8327.tar.xz |
KVM: Expose kvm_lapic_local_deliver()
Needed to deliver performance monitoring interrupts.
Signed-off-by: Avi Kivity <avi@redhat.com>
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 138e8cc..6f4ce25 100644 --- a/arch/x86/kvm/lapic.h +++ b/arch/x86/kvm/lapic.h @@ -34,6 +34,7 @@ void kvm_apic_set_version(struct kvm_vcpu *vcpu); int kvm_apic_match_physical_addr(struct kvm_lapic *apic, u16 dest); int kvm_apic_match_logical_addr(struct kvm_lapic *apic, u8 mda); int kvm_apic_set_irq(struct kvm_vcpu *vcpu, struct kvm_lapic_irq *irq); +int kvm_apic_local_deliver(struct kvm_lapic *apic, int lvt_type); u64 kvm_get_apic_base(struct kvm_vcpu *vcpu); void kvm_set_apic_base(struct kvm_vcpu *vcpu, u64 data); |