diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-07-15 20:41:15 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-07-30 18:14:34 -0400 |
commit | 59505b55aa0957bcad84e74bb80153d5c77916f6 (patch) | |
tree | 1bbd2018c14ecc836ab23c71131bdbdf24040447 /drivers/usb/cdns3/cdns3-ti.c | |
parent | f291a358e0d88e3b20431266d8f78fc5eda1aec7 (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 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions