diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-10-02 10:29:51 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-10-18 13:58:04 +0200 |
commit | 9bbcf372193a2064743461aea5bf59cc83e37aa9 (patch) | |
tree | 32e4a7edcd17a4a089dcdc723fb6171b0a2468a1 /target/i386/whpx/whpx-all.c | |
parent | 3563362ddfaefcb2866c91abed4294e3a187d6d3 (diff) | |
download | qemu-9bbcf372193a2064743461aea5bf59cc83e37aa9.zip qemu-9bbcf372193a2064743461aea5bf59cc83e37aa9.tar.gz qemu-9bbcf372193a2064743461aea5bf59cc83e37aa9.tar.bz2 |
target/i386: Reorg GET_HPHYS
Replace with PTE_HPHYS for the page table walk, and a direct call
to mmu_translate for the final stage2 translation. Hoist the check
for HF2_NPT_MASK out to get_physical_address, which avoids the
recursive call when stage2 is disabled.
We can now return all the way out to x86_cpu_tlb_fill before raising
an exception, which means probe works.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221002172956.265735-5-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/whpx/whpx-all.c')
0 files changed, 0 insertions, 0 deletions