lguest: send trap 13 through to userspace.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 04:45:10 +0000 (15:15 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 06:17:31 +0000 (16:47 +1030)
commitc565650b1028bc551e5d16dd0ec8f7078da7cace
tree019581b2a4821eba84ebdff179034c5ac57ca1a3
parentc9e433e4b852b70ea267388cf9b5d8096b04c44c
lguest: send trap 13 through to userspace.

We copy 7 bytes at eip for userspace's instruction decode; we have to
carefully handle the case where eip is at the end of a page.  We can't
leave this to userspace since kernel has all the page table decode
logic.

The decode logic moves to userspace, basically unchanged.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/x86/core.c
tools/lguest/lguest.c