Skip to content
Snippets Groups Projects
Commit e506ad6a authored by Richard Henderson's avatar Richard Henderson
Browse files

accel/tcg: Pass last not end to tb_invalidate_phys_range


Pass the address of the last byte to be changed, rather than
the first address past the last byte.  This avoids overflow
when the last page of the address space is involved.

Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent 73f96d51
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment