aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2021-02-18 09:51:06 -0500
committerPaolo Bonzini <[email protected]>2021-03-15 04:42:38 -0400
commit2a32a77cefa662773197b362db8e4190027c89fa (patch)
treefadb60d365945e2be9fa236a1296acd07e46e86a /tools/perf/scripts/python
parent11f0cbf0c6050f2d8b3a24fc2ab8535bcaad54ea (diff)
KVM: SVM: merge update_cr0_intercept into svm_set_cr0
The logic of update_cr0_intercept is pointlessly complicated. All svm_set_cr0 is compute the effective cr0 and compare it with the guest value. Inlining the function and simplifying the condition clarifies what it is doing. Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions