aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/hvm
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-07-28 16:28:21 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-07-28 16:28:21 +0100
commit7ee1d0108a85da052767484255d631352b184fca (patch)
tree18ea83ec4eafb6a09933c5aca970789c27750ed0 /xen/include/xen/hvm
parentc88235741e1d230a9dab1be55ee87547b9980f65 (diff)
downloadxen-7ee1d0108a85da052767484255d631352b184fca.tar.gz
xen-7ee1d0108a85da052767484255d631352b184fca.tar.bz2
xen-7ee1d0108a85da052767484255d631352b184fca.zip
passthrough: use tasklet to deliver interrupts
This patch enables delivery of interrupts even if the VCPU#0 is halted. Note: the changes to softirq.{ch} are needed for ia64 build. Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
Diffstat (limited to 'xen/include/xen/hvm')
-rw-r--r--xen/include/xen/hvm/irq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/include/xen/hvm/irq.h b/xen/include/xen/hvm/irq.h
index 4fe118c31b..b50cff6da9 100644
--- a/xen/include/xen/hvm/irq.h
+++ b/xen/include/xen/hvm/irq.h
@@ -24,6 +24,7 @@
#include <xen/types.h>
#include <xen/spinlock.h>
+#include <xen/softirq.h>
#include <asm/irq.h>
#include <public/hvm/save.h>
@@ -88,6 +89,7 @@ struct hvm_irq_dpci {
/* Record of mapped Links */
uint8_t link_cnt[NR_LINK];
struct timer hvm_timer[NR_VECTORS];
+ struct tasklet dirq_tasklet;
};
/* Modify state of a PCI INTx wire. */
@@ -108,6 +110,4 @@ void hvm_maybe_deassert_evtchn_irq(void);
void hvm_assert_evtchn_irq(struct vcpu *v);
void hvm_set_callback_via(struct domain *d, uint64_t via);
-void hvm_dirq_assist(struct vcpu *v);
-
#endif /* __XEN_HVM_IRQ_H__ */