]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/i386: Use probe_access_full for final stage2 translation
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 2 Oct 2022 17:29:56 +0000 (10:29 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 18 Oct 2022 11:58:04 +0000 (13:58 +0200)
commit8629e77be5f8106b3497cc197fbd57a12ae6333f
treee5bc89adb8693cc520fa0535a13bf8d0f0db3c7e
parent4a1e9d4d11cd5c0f05f7f04467088ff09fcdafac
target/i386: Use probe_access_full for final stage2 translation

Rather than recurse directly on mmu_translate, go through the
same softmmu lookup that we did for the page table walk.
This centralizes all knowledge of MMU_NESTED_IDX, with respect
to setup of TranslationParams, to get_physical_address.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221002172956.265735-10-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/sysemu/excp_helper.c