WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] x86, passthrough: Enhance guest's interru

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86, passthrough: Enhance guest's interrupt affinity setting.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 28 Dec 2009 01:45:15 -0800
Delivery-date: Mon, 28 Dec 2009 01:45:30 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1261993163 0
# Node ID 280ecaf392946218714947c681178659ae14865e
# Parent  eaf69c86f8341c0583a20b8b239711757de1ec5c
x86, passthrough: Enhance guest's interrupt affinity setting.

When guest uses logical flat destionation mode for interrupt delivery,
vector doesn't change but destionation also can change, so should
enhance the check condition.

Signed-off-by: Xiantao Zhang <xiantao.zhang@xxxxxxxxx>
---
 xen/drivers/passthrough/io.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r eaf69c86f834 -r 280ecaf39294 xen/drivers/passthrough/io.c
--- a/xen/drivers/passthrough/io.c      Mon Dec 28 09:38:34 2009 +0000
+++ b/xen/drivers/passthrough/io.c      Mon Dec 28 09:39:23 2009 +0000
@@ -199,7 +199,8 @@ int pt_irq_create_bind_vtd(
             }
  
             /* if pirq is already mapped as vmsi, update the guest data/addr */
-            if ( hvm_irq_dpci->mirq[pirq].gmsi.gvec != pt_irq_bind->u.msi.gvec 
) {
+            if ( hvm_irq_dpci->mirq[pirq].gmsi.gvec != pt_irq_bind->u.msi.gvec 
||
+                hvm_irq_dpci->mirq[pirq].gmsi.gflags != 
pt_irq_bind->u.msi.gflags) {
                 hvm_irq_dpci->mirq[pirq].gmsi.old_gvec =
                                     hvm_irq_dpci->mirq[pirq].gmsi.gvec;
                 hvm_irq_dpci->mirq[pirq].gmsi.old_gflags =

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86, passthrough: Enhance guest's interrupt affinity setting., Xen patchbot-unstable <=