ChangeSet 1.1277.1.8, 2005/04/15 16:52:25-06:00, djm@xxxxxxxxxxxxxxx
vcpu.c:
pending interrupt fix for paravirtualization
vcpu.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
diff -Nru a/xen/arch/ia64/vcpu.c b/xen/arch/ia64/vcpu.c
--- a/xen/arch/ia64/vcpu.c 2005-04-20 05:03:51 -04:00
+++ b/xen/arch/ia64/vcpu.c 2005-04-20 05:03:51 -04:00
@@ -509,6 +509,7 @@
//printf("vcpu_pend_interrupt: overrun\n");
}
set_bit(vector,PSCB(vcpu,irr));
+ PSCB(vcpu,pending_interruption) = 1;
}
void early_tick(VCPU *vcpu)
@@ -637,7 +638,7 @@
//printf("ZZZZZZ vcpu_get_ivr: setting insvc mask for vector %ld\n",vector);
PSCB(vcpu,insvc[i]) |= mask;
PSCB(vcpu,irr[i]) &= ~mask;
- PSCB(vcpu,pending_interruption)--;
+ //PSCB(vcpu,pending_interruption)--;
*pval = vector;
// if delivering a timer interrupt, remember domain_itm
if (vector == (PSCB(vcpu,itv) & 0xff)) {
@@ -746,6 +747,7 @@
{
if (val & 0xff00) return IA64_RSVDREG_FAULT;
PSCB(vcpu,tpr) = val;
+ //PSCB(vcpu,pending_interruption) = 1;
return (IA64_NO_FAULT);
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|