commit | c565650b1028bc551e5d16dd0ec8f7078da7cace | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Wed Feb 11 15:15:10 2015 +1030 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Wed Feb 11 16:47:31 2015 +1030 |
tree | 019581b2a4821eba84ebdff179034c5ac57ca1a3 | |
parent | c9e433e4b852b70ea267388cf9b5d8096b04c44c [diff] |
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>