lguest: use eventfds for device notification
Currently, when a Guest wants to perform I/O it calls LHCALL_NOTIFY with
an address: the main Launcher process returns with this address, and figures
out what device to run.
A far nicer model is to let processes bind an eventfd to an address: if we
find one, we simply signal the eventfd.
Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au>
Cc: Davide Libenzi <davidel@xmailserver.org>
Showing
- drivers/lguest/Kconfig 1 addition, 1 deletiondrivers/lguest/Kconfig
- drivers/lguest/core.c 5 additions, 3 deletionsdrivers/lguest/core.c
- drivers/lguest/lg.h 13 additions, 0 deletionsdrivers/lguest/lg.h
- drivers/lguest/lguest_user.c 96 additions, 2 deletionsdrivers/lguest/lguest_user.c
- include/linux/lguest_launcher.h 1 addition, 0 deletionsinclude/linux/lguest_launcher.h
Loading
Please register or sign in to comment