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

KVM: x86/mmu: simplify and/or inline computation of shadow MMU roles



Shadow MMUs compute their role from cpu_role.base, simply by adjusting
the root level.  It's one line of code, so do not place it in a separate
function.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent faf72962
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