aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2017-05-11 13:23:29 +0200
committerRadim Krčmář <[email protected]>2017-05-15 18:22:40 +0200
commit0780516a18f87e881e42ed815f189279b0a1743c (patch)
tree229ce5f517835cdc192664ea8a14cb4b6a779336 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentfce6ac4c0508b985d497e3d9c8eff28ec8a43182 (diff)
KVM: nVMX: fix EPT permissions as reported in exit qualification
This fixes the new ept_access_test_read_only and ept_access_test_read_write testcases from vmx.flat. The problem is that gpte_access moves bits around to switch from EPT bit order (XWR) to ACC_*_MASK bit order (RWX). This results in an incorrect exit qualification. To fix this, make pt_access and pte_access operate on raw PTE values (only with NX flipped to mean "can execute") and call gpte_access at the end of the walk. This lets us use pte_access to compute the exit qualification with XWR bit order. Signed-off-by: Paolo Bonzini <[email protected]> Reviewed-by: Xiao Guangrong <[email protected]> Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions