lguest: allow any process to send interrupts
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 13 Jun 2009 04:27:08 +0000 (22:27 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 12 Jun 2009 12:57:09 +0000 (22:27 +0930)
commit9f155a9b3d5a5444bcc5e049ec2547bb5107150e
treeef8fe2d5a319abb3bb1c89374f9d2fef1b0881c3
parent92b4d8df8436cdd74d22a2a5b6b23b9abc737a3e
lguest: allow any process to send interrupts

We currently only allow the Launcher process to send interrupts, but it
as we already send interrupts from the hrtimer, it's a simple matter of
extracting that code into a common set_interrupt routine.

As we switch to a thread per virtqueue, this avoids a bottleneck through the
main Launcher process.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/interrupts_and_traps.c
drivers/lguest/lg.h
drivers/lguest/lguest_user.c