diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2015-02-11 07:45:09 +0300 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-02-11 09:17:30 +0300 |
commit | 8ed313001a892f240269dea05d4b925cbd150492 (patch) | |
tree | 340461d5b381ffc3b939bb6d414f20a732ff85c5 /include/linux/lguest_launcher.h | |
parent | 69a09dc1742ffbb3b02f3a1e03da4801e96452e9 (diff) | |
download | linux-8ed313001a892f240269dea05d4b925cbd150492.tar.xz |
lguest: add infrastructure for userspace to deliver a trap to the guest.
This is required for instruction emulation to move to userspace.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux/lguest_launcher.h')
-rw-r--r-- | include/linux/lguest_launcher.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/lguest_launcher.h b/include/linux/lguest_launcher.h index c4451ebece47..3c402b843e03 100644 --- a/include/linux/lguest_launcher.h +++ b/include/linux/lguest_launcher.h @@ -65,6 +65,7 @@ enum lguest_req LHREQ_EVENTFD, /* + address, fd. */ LHREQ_GETREG, /* + offset within struct pt_regs (then read value). */ LHREQ_SETREG, /* + offset within struct pt_regs, value. */ + LHREQ_TRAP, /* + trap number to deliver to guest. */ }; /* |