|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86: Use per-domain irq-to-vector array w
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1233836418 0
# Node ID a2a755b7927e61f2ebd25cb7c6071a8c8f71063d
# Parent 5c1308e2ece3b6d589f39375cbef8239640ac262
x86: Use per-domain irq-to-vector array when mapping GSIs
Using the per-domain array enables single MSI vectors to be mapped.
Signed-off-by: Espen Skoglund <espen.skoglund@xxxxxxxxxxxxx>
---
xen/arch/x86/physdev.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 5c1308e2ece3 -r a2a755b7927e xen/arch/x86/physdev.c
--- a/xen/arch/x86/physdev.c Thu Feb 05 12:17:24 2009 +0000
+++ b/xen/arch/x86/physdev.c Thu Feb 05 12:20:18 2009 +0000
@@ -62,7 +62,7 @@ static int physdev_map_pirq(struct physd
ret = -EINVAL;
goto free_domain;
}
- vector = IO_APIC_VECTOR(map->index);
+ vector = domain_irq_to_vector(current->domain, map->index);
if ( !vector )
{
dprintk(XENLOG_G_ERR, "dom%d: map irq with no vector %d\n",
_______________________________________________
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: Use per-domain irq-to-vector array when mapping GSIs,
Xen patchbot-unstable <=
|
|
|
|
|