summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx/vmx.h
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-07-15 20:41:15 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2020-07-30 18:14:34 -0400
commit59505b55aa0957bcad84e74bb80153d5c77916f6 (patch)
tree1bbd2018c14ecc836ab23c71131bdbdf24040447 /arch/x86/kvm/vmx/vmx.h
parentf291a358e0d88e3b20431266d8f78fc5eda1aec7 (diff)
KVM: x86/mmu: Add separate helper for shadow NPT root page role calc
Refactor the shadow NPT role calculation into a separate helper to better differentiate it from the non-nested shadow MMU, e.g. the NPT variant is never direct and derives its root level from the TDP level. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Message-Id: <20200716034122.5998-3-sean.j.christopherson@intel.com> Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx/vmx.h')
0 files changed, 0 insertions, 0 deletions