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

KVM: x86/mmu: replace root_level with cpu_role.base.level



Remove another duplicate field of struct kvm_mmu.  This time it's
the root level for page table walking; the separate field is
always initialized as cpu_role.base.level, so its users can look
up the CPU mode directly instead.

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