summaryrefslogtreecommitdiffstats
path: root/include/qapi/dealloc-visitor.h
diff options
context:
space:
mode:
authorPeter Maydell2018-07-13 16:16:35 +0200
committerPeter Maydell2018-07-16 18:26:01 +0200
commitb493ccf1fc82674ef73564b3c61e309105c9336b (patch)
tree4d782c803f7aeab41e4e80520f217651dc823b7f /include/qapi/dealloc-visitor.h
parentbcm2835_aux: Swap RX and TX interrupt assignments (diff)
downloadqemu-b493ccf1fc82674ef73564b3c61e309105c9336b.tar.gz
qemu-b493ccf1fc82674ef73564b3c61e309105c9336b.tar.xz
qemu-b493ccf1fc82674ef73564b3c61e309105c9336b.zip
accel/tcg: Use correct test when looking in victim TLB for code
In get_page_addr_code(), we were incorrectly looking in the victim TLB for an entry which matched the target address for reads, not for code accesses. This meant that we could hit on a victim TLB entry that indicated that the address was readable but not executable, and incorrectly bypass the call to tlb_fill() which should generate the guest MMU exception. Fix this bug. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20180713141636.18665-2-peter.maydell@linaro.org
Diffstat (limited to 'include/qapi/dealloc-visitor.h')
0 files changed, 0 insertions, 0 deletions