diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-06-20 11:50:16 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-06-20 11:50:16 +0100 |
commit | 19636447b80747cd9da57cd540f09f475b13cfce (patch) | |
tree | be76ad344ed33741fd7f70b231b4563202791ee0 /xen/arch/x86/hvm/vpic.c | |
parent | eed63189dabd90abe422b0e94ab8854783329bed (diff) | |
download | xen-19636447b80747cd9da57cd540f09f475b13cfce.tar.gz xen-19636447b80747cd9da57cd540f09f475b13cfce.tar.bz2 xen-19636447b80747cd9da57cd540f09f475b13cfce.zip |
hvm: Support injection of virtual NMIs and clean up ExtInt handling in general.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/hvm/vpic.c')
-rw-r--r-- | xen/arch/x86/hvm/vpic.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xen/arch/x86/hvm/vpic.c b/xen/arch/x86/hvm/vpic.c index 19ef5d0756..46ab18fc46 100644 --- a/xen/arch/x86/hvm/vpic.c +++ b/xen/arch/x86/hvm/vpic.c @@ -499,7 +499,7 @@ void vpic_irq_negative_edge(struct domain *d, int irq) vpic_update_int_output(vpic); } -int cpu_get_pic_interrupt(struct vcpu *v, int *type) +int cpu_get_pic_interrupt(struct vcpu *v) { int irq, vector; struct hvm_hw_vpic *vpic = &v->domain->arch.hvm_domain.vpic[0]; @@ -512,6 +512,5 @@ int cpu_get_pic_interrupt(struct vcpu *v, int *type) return -1; vector = vpic[irq >> 3].irq_base + (irq & 7); - *type = APIC_DM_EXTINT; return vector; } |