diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-01-26 15:52:30 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-01-26 15:52:30 +0000 |
commit | 47e24ad78cb9c1fa7ff1360fc1f1ce4c1525f24e (patch) | |
tree | 76d9b964acf2943156936a712d5bb34b9cdf3f4c /xen/arch/x86/hvm/vmsi.c | |
parent | bfd2af9ebde1c93d46089e4340f12d8a1074911d (diff) | |
download | xen-47e24ad78cb9c1fa7ff1360fc1f1ce4c1525f24e.tar.gz xen-47e24ad78cb9c1fa7ff1360fc1f1ce4c1525f24e.tar.bz2 xen-47e24ad78cb9c1fa7ff1360fc1f1ce4c1525f24e.zip |
x86: Revert Cset 20334:dcc5d5d954e9
Recording old MSI info doesn't solve all the corner cases
when guest's irq migration occurs.
Signed-off-by : Xiantao Zhang <xiantao.zhang@intel.com>
Diffstat (limited to 'xen/arch/x86/hvm/vmsi.c')
-rw-r--r-- | xen/arch/x86/hvm/vmsi.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/xen/arch/x86/hvm/vmsi.c b/xen/arch/x86/hvm/vmsi.c index aaf0d152e9..d9ec9fb0a4 100644 --- a/xen/arch/x86/hvm/vmsi.c +++ b/xen/arch/x86/hvm/vmsi.c @@ -92,11 +92,8 @@ int vmsi_deliver(struct domain *d, int pirq) case dest_LowestPrio: { target = vlapic_lowest_prio(d, NULL, 0, dest, dest_mode); - if ( target != NULL ) { + if ( target != NULL ) vmsi_inj_irq(d, target, vector, trig_mode, delivery_mode); - hvm_irq_dpci->mirq[pirq].gmsi.old_gvec = - hvm_irq_dpci->mirq[pirq].gmsi.gvec; - } else HVM_DBG_LOG(DBG_LEVEL_IOAPIC, "null round robin: " "vector=%x delivery_mode=%x\n", @@ -109,12 +106,9 @@ int vmsi_deliver(struct domain *d, int pirq) { for_each_vcpu ( d, v ) if ( vlapic_match_dest(vcpu_vlapic(v), NULL, - 0, dest, dest_mode) ) { + 0, dest, dest_mode) ) vmsi_inj_irq(d, vcpu_vlapic(v), vector, trig_mode, delivery_mode); - hvm_irq_dpci->mirq[pirq].gmsi.old_gvec = - hvm_irq_dpci->mirq[pirq].gmsi.gvec; - } break; } |