|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] x86: Enhance guest's interrupt affinity setting.
# HG changeset patch
# User root@vt-dp6
# Date 1261754905 -28800
# Node ID 3af667cf9a5814268aabb212f5b6892ed1da31cf
# Parent 8f304c003af49d3b20aff5a6c2c963a7af696378
x86: 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>
diff -r 8f304c003af4 -r 3af667cf9a58 xen/drivers/passthrough/io.c
--- a/xen/drivers/passthrough/io.c Wed Dec 09 10:59:31 2009 +0000
+++ b/xen/drivers/passthrough/io.c Fri Dec 25 23:28:25 2009 +0800
@@ -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 =
enhance-guest-intr-affinity-setting.patch
Description: enhance-guest-intr-affinity-setting.patch
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] x86: Enhance guest's interrupt affinity setting.,
Zhang, Xiantao <=
|
|
|
|
|