[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86, passthrough: Enhance guest's interrupt affinity setting.
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |