diff options
author | Sean Christopherson <seanjc@google.com> | 2021-06-22 10:57:24 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-24 18:00:44 -0400 |
commit | 5472fcd4c6c8026565644f31490cfddfdafb9519 (patch) | |
tree | cd3ac29871c3b42c75634eddbc0687bbd67f6e6f /arch/xtensa/configs | |
parent | a4c93252fed1517362d2ce43c6a5fd50a1152ed6 (diff) | |
download | linux-5472fcd4c6c8026565644f31490cfddfdafb9519.tar.gz |
KVM: x86/mmu: Get nested MMU's root level from the MMU's role
Initialize the MMU's (guest) root_level using its mmu_role instead of
redoing the calculations. The role_regs used to calculate the mmu_role
are initialized from the vCPU, i.e. this should be a complete nop.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622175739.3610207-40-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/xtensa/configs')
0 files changed, 0 insertions, 0 deletions