target/i386: extract mmu_translate
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 Mar 2021 14:16:35 +0000 (10:16 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 11 May 2021 08:11:13 +0000 (04:11 -0400)
commit661ff4879eee77953836ba9843c74b202844a492
treee82f6bc686282202ae638b77cfb900ab084e12d5
parent616a89eaadb5337094a4931addee8a76c85556cd
target/i386: extract mmu_translate

Extract the page table lookup out of handle_mmu_fault, which only has
to invoke mmu_translate and either fill the TLB or deliver the page
fault.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/sysemu/excp_helper.c