diff options
author | 2018-06-27 14:59:07 -0700 | |
---|---|---|
committer | 2018-08-06 17:58:51 +0200 | |
commit | 9fa72119b24db78d665a4034b5a0d349b0289b08 (patch) | |
tree | a2bf61809b372d8163c94c38f5daed48c5e5085c /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | kvm: x86: Add fast CR3 switch code path (diff) | |
download | wireguard-linux-9fa72119b24db78d665a4034b5a0d349b0289b08.tar.xz wireguard-linux-9fa72119b24db78d665a4034b5a0d349b0289b08.zip |
kvm: x86: Introduce kvm_mmu_calc_root_page_role()
These functions factor out the base role calculation from the
corresponding kvm_init_*_mmu() functions. The new functions return
what would be the role assigned to a root page in the current VCPU
state. This can be masked with mmu_base_role_mask to derive the base
role.
Signed-off-by: Junaid Shahid <junaids@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions