aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2021-06-22 10:57:12 -0700
committerPaolo Bonzini <[email protected]>2021-06-24 18:00:41 -0400
commit84c679f5f52c7a98c9f0986ff89d50dc073b97f3 (patch)
treed1f357134c52ba6e9c07d88c979a995fac1aad65 /tools/perf/scripts/python/export-to-sqlite.py
parentca8d664f509932eb316a4ae3926176be745e3b3d (diff)
KVM: x86/mmu: Set CR4.PKE/LA57 in MMU role iff long mode is active
Don't set cr4_pke or cr4_la57 in the MMU role if long mode isn't active, which is required for protection keys and 5-level paging to be fully enabled. Ignoring the bit avoids unnecessary reconfiguration on reuse, and also means consumers of mmu_role don't need to manually check for long mode. Signed-off-by: Sean Christopherson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions