diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-10 07:32:40 -0500 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-29 12:49:53 -0400 |
| commit | 60f3cb60a59d3f155d7b5b7f8339754b2aba8815 (patch) | |
| tree | f335565260f658bb4e0443527252ce4a1d4bfb04 /lib/mpi/mpiutil.c | |
| parent | e5ed0fb01004f93ddf8a0c632cbc8a3f1ea5b518 (diff) | |
KVM: x86/mmu: do not recompute root level from kvm_mmu_role_regs
The root_level can be found in the cpu_role (in fact the field
is superfluous and could be removed, but one thing at a time).
Since there is only one usage left of role_regs_to_root_level,
inline it into kvm_calc_cpu_role.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
