Skip to content
Commit 3fcf2d1b authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: x86: make FNAME(fetch) and __direct_map more similar



These two functions are basically doing the same thing through
kvm_mmu_get_page, link_shadow_page and mmu_set_spte; yet, for historical
reasons, their code looks very different.  This patch tries to take the
best of each and make them very similar, so that it is easy to understand
changes that apply to both of them.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 43fdcda9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment