aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/vpt.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-05-25 11:28:58 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-05-25 11:28:58 +0100
commite5fd1f6505c43440bc2450253c79c80174b693bc (patch)
tree087e3b1ad736f54f69186e9f1d0cae622c6e459b /xen/arch/x86/hvm/vpt.c
parenta1a1b2c95150b9a41657e335600eb92fbe24d732 (diff)
downloadxen-e5fd1f6505c43440bc2450253c79c80174b693bc.tar.gz
xen-e5fd1f6505c43440bc2450253c79c80174b693bc.tar.bz2
xen-e5fd1f6505c43440bc2450253c79c80174b693bc.zip
x86 hvm: implement vector callback for evtchn delivery
Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/hvm/vpt.c')
-rw-r--r--xen/arch/x86/hvm/vpt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/arch/x86/hvm/vpt.c b/xen/arch/x86/hvm/vpt.c
index ce35a3e049..096d083f74 100644
--- a/xen/arch/x86/hvm/vpt.c
+++ b/xen/arch/x86/hvm/vpt.c
@@ -286,6 +286,9 @@ void pt_intr_post(struct vcpu *v, struct hvm_intack intack)
time_cb *cb;
void *cb_priv;
+ if ( intack.source == hvm_intsrc_vector )
+ return;
+
spin_lock(&v->arch.hvm_vcpu.tm_lock);
pt = is_pt_irq(v, intack);