aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'extras/mini-os/events.c')
-rw-r--r--extras/mini-os/events.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/mini-os/events.c b/extras/mini-os/events.c
index 5263c8757e..adf0afd13e 100644
--- a/extras/mini-os/events.c
+++ b/extras/mini-os/events.c
@@ -77,6 +77,7 @@ int bind_virq( u32 virq, void (*handler)(int, struct pt_regs *) )
/* Try to bind the virq to a port */
op.cmd = EVTCHNOP_bind_virq;
op.u.bind_virq.virq = virq;
+ op.u.bind_virq.vcpu = smp_processor_id();
if ( HYPERVISOR_event_channel_op(&op) != 0 )
{