diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-07-16 06:41:15 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-07-31 01:14:34 +0300 |
commit | 59505b55aa0957bcad84e74bb80153d5c77916f6 (patch) | |
tree | 1bbd2018c14ecc836ab23c71131bdbdf24040447 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | f291a358e0d88e3b20431266d8f78fc5eda1aec7 (diff) | |
download | linux-59505b55aa0957bcad84e74bb80153d5c77916f6.tar.xz |
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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions