lguest: add infrastructure to check mappings.
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:31 +0000 (16:47 +1030)
commitc9e433e4b852b70ea267388cf9b5d8096b04c44c
treee456fdc2a7b08ded02723f9235e6d6afd7991642
parent8ed313001a892f240269dea05d4b925cbd150492
lguest: add infrastructure to check mappings.

We normally abort the guest unconditionally when it gives us a bad address,
but in the next patch we want to copy some bytes which may not be mapped.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/lg.h
drivers/lguest/page_tables.c