]> git.proxmox.com Git - mirror_qemu.git/commit
accel/tcg: Document the faulting lookup in tb_lookup_cmp
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 23 Aug 2022 01:50:46 +0000 (18:50 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 6 Sep 2022 07:04:26 +0000 (08:04 +0100)
commit9867b30287ec98728e52ed49d03c666e86c90a04
tree1ea34b38d5acc4e52d1d4e4c42714566cb97efd3
parent7e0d9973ea665bf459b2dbd173d0e51bc6ca5216
accel/tcg: Document the faulting lookup in tb_lookup_cmp

It was non-obvious to me why we can raise an exception in
the middle of a comparison function, but it works.
While nearby, use TARGET_PAGE_ALIGN instead of open-coding.

Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cpu-exec.c