commit | 376a790970de7e84170ee9360b6ff53ecfa4a1be | [log] [tgz] |
---|---|---|
author | Richard Henderson <rth@twiddle.net> | Wed Mar 10 15:57:04 2010 -0800 |
committer | Paul Brook <paul@codesourcery.com> | Fri Mar 12 16:31:32 2010 +0000 |
tree | b0e0a267364b3026c48fe5ba809f008a7a68c8cb | |
parent | 5cd2c5b6ad75c46d40118ac67c0c09d4e7930a65 [diff] |
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>