|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Always bind dom0 virqs to vcpu 0.
# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 4309a1fd844760b8f111c1d0ec43e6eda4548d48
# Parent acde14d25398daa50263c1a890371e19d9dcf78a
Always bind dom0 virqs to vcpu 0.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
diff -r acde14d25398 -r 4309a1fd8447 xen/common/event_channel.c
--- a/xen/common/event_channel.c Wed Sep 7 15:53:04 2005
+++ b/xen/common/event_channel.c Wed Sep 7 16:50:55 2005
@@ -251,6 +251,9 @@
if ( virq >= ARRAY_SIZE(v->virq_to_evtchn) )
return -EINVAL;
+ if ( d->domain_id == 0 && virq >= VIRQ_CONSOLE )
+ v = d->vcpu[0];
+
spin_lock(&d->evtchn_lock);
/*
@@ -271,6 +274,7 @@
out:
spin_unlock(&d->evtchn_lock);
+ printk("evtchn_bind_virq %d port %d\n", virq, port);
if ( port < 0 )
return port;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Always bind dom0 virqs to vcpu 0.,
Xen patchbot -unstable <=
|
|
|
|
|