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

KVM: MMU: inline set_spte in mmu_set_spte



Since the two callers of set_spte do different things with the results,
inlining it actually makes the code simpler to reason about.  For example,
mmu_set_spte looks quite like tdp_mmu_map_handle_target_level, but the
similarity is hidden by set_spte.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 88810413
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment