commit | e1d12606f756bdb8328a66a2873dca6c46bcb4e5 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Mon Apr 22 14:10:39 2013 +0930 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Mon Apr 22 15:31:39 2013 +0930 |
tree | 25464220a1fe74504cd5a8d0801913594e25539d | |
parent | 93a2cdff98243df06bafd3c4f3b31b38f0d0fe3e [diff] |
lguest: make check_gpte et. al return bool. This is a bit neater: we can immediately return if a PTE/PGD/PMD entry is invalid (which also kills the guest). It means we don't risk using invalid entries as we reshuffle the code. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>