lguest: add operations to get/set a register from the Launcher.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 04:45:09 +0000 (15:15 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 06:17:29 +0000 (16:47 +1030)
commit18c137371b2ea86d263b75665a4904a0b8872990
tree59f8e6bf9b43195b8d9d77fb3235468baeb8d946
parenta454bb36cabdac163fcd80ddb37662893ea603f1
lguest: add operations to get/set a register from the Launcher.

We use the ptrace API struct, and we currently don't let them set
anything but the normal registers (we'd have to filter the others).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/core.c
drivers/lguest/lg.h
drivers/lguest/lguest_user.c
drivers/lguest/x86/core.c
include/linux/lguest_launcher.h