diff options
author | Richard Henderson | 2010-03-11 00:57:04 +0100 |
---|---|---|
committer | Paul Brook | 2010-03-12 17:31:32 +0100 |
commit | 376a790970de7e84170ee9360b6ff53ecfa4a1be (patch) | |
tree | b0e0a267364b3026c48fe5ba809f008a7a68c8cb /exec-all.h | |
parent | Implement multi-level page tables. (diff) | |
download | qemu-376a790970de7e84170ee9360b6ff53ecfa4a1be.tar.gz qemu-376a790970de7e84170ee9360b6ff53ecfa4a1be.tar.xz qemu-376a790970de7e84170ee9360b6ff53ecfa4a1be.zip |
Fix last page errors in page_check_range and page_set_flags.
The addr < end comparison prevents iterating over the last
page in the guest address space; an iteration based on
length avoids this problem.
At the same time, assert that the given address is in the
guest address space.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'exec-all.h')
0 files changed, 0 insertions, 0 deletions