summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-02-11 14:50:11 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-04-29 19:49:53 +0300
commite5ed0fb01004f93ddf8a0c632cbc8a3f1ea5b518 (patch)
treefd59eecd3558d9126ae32361880eb8900946031c /tools/perf/scripts/python/export-to-sqlite.py
parentb89805082adf1f502b1f0b993063e938e1bcb098 (diff)
downloadlinux-e5ed0fb01004f93ddf8a0c632cbc8a3f1ea5b518.tar.xz
KVM: x86/mmu: split cpu_role from mmu_role
Snapshot the state of the processor registers that govern page walk into a new field of struct kvm_mmu. This is a more natural representation than having it *mostly* in mmu_role but not exclusively; the delta right now is represented in other fields, such as root_level. The nested MMU now has only the CPU role; and in fact the new function kvm_calc_cpu_role is analogous to the previous kvm_calc_nested_mmu_role, except that it has role.base.direct equal to !CR0.PG. For a walk-only MMU, "direct" has no meaning, but we set it to !CR0.PG so that role.ext.cr0_pg can go away in a future patch. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions