summaryrefslogtreecommitdiff
path: root/drivers/kvm/irq.h
diff options
context:
space:
mode:
authorEddie Dong <eddie.dong@intel.com>2007-10-10 12:14:25 +0200
committerAvi Kivity <avi@qumranet.com>2008-01-30 17:52:55 +0200
commit2fcceae145645ec6a4fab0a806bb674d7484d97b (patch)
tree1b17bb063940bcef205a7d21dbb820ffca7adc38 /drivers/kvm/irq.h
parent60395224d94945544f1f9dce5566981844bf0e77 (diff)
downloadlwn-2fcceae145645ec6a4fab0a806bb674d7484d97b.tar.gz
lwn-2fcceae145645ec6a4fab0a806bb674d7484d97b.zip
KVM: Export PIC reset for kernel device reset
Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/irq.h')
-rw-r--r--drivers/kvm/irq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/kvm/irq.h b/drivers/kvm/irq.h
index 508280ea6fcf..e08ae1002bd8 100644
--- a/drivers/kvm/irq.h
+++ b/drivers/kvm/irq.h
@@ -139,6 +139,7 @@ int kvm_apic_accept_pic_intr(struct kvm_vcpu *vcpu);
int kvm_get_apic_interrupt(struct kvm_vcpu *vcpu);
int kvm_create_lapic(struct kvm_vcpu *vcpu);
void kvm_lapic_reset(struct kvm_vcpu *vcpu);
+void kvm_pic_reset(struct kvm_kpic_state *s);
void kvm_free_lapic(struct kvm_vcpu *vcpu);
u64 kvm_lapic_get_cr8(struct kvm_vcpu *vcpu);
void kvm_lapic_set_tpr(struct kvm_vcpu *vcpu, unsigned long cr8);