diff options
author | Sean Christopherson <seanjc@google.com> | 2021-06-22 20:57:29 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-25 01:00:45 +0300 |
commit | f4bd6f73763a91a0c6fc39974d57034e19f25494 (patch) | |
tree | e521ceb655f9b275ad3eb3f5d9fa2a54337f0aeb /security/keys | |
parent | 533f9a4b387bf79c722faf0a760a09129d9627f9 (diff) | |
download | linux-f4bd6f73763a91a0c6fc39974d57034e19f25494.tar.xz |
KVM: x86/mmu: Add a helper to calculate root from role_regs
Add a helper to calculate the level for non-EPT page tables from the
MMU's role_regs.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622175739.3610207-45-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'security/keys')
0 files changed, 0 insertions, 0 deletions