diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-10 07:33:01 -0500 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-29 12:49:54 -0400 |
| commit | 19b5dcc3be2efe93760372f444dec44e77f67146 (patch) | |
| tree | c7caaccefa7b13873441a921c9c91a5a7e578559 /lib/mpi/mpi-sub-ui.c | |
| parent | ec283cb1dcb934d1a861e5e25ce843e033ee4ab7 (diff) | |
KVM: x86/mmu: remove kvm_calc_shadow_root_page_role_common
kvm_calc_shadow_root_page_role_common is the same as
kvm_calc_cpu_role except for the level, which is overwritten
afterwards in kvm_calc_shadow_mmu_root_page_role
and kvm_calc_shadow_npt_root_page_role.
role.base.direct is already set correctly for the CPU role,
and CR0.PG=1 is required for VMRUN so it will also be
correct for nested NPT.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
