aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorWanpeng Li <[email protected]>2020-09-12 02:16:39 -0400
committerPaolo Bonzini <[email protected]>2020-09-12 02:19:23 -0400
commite42c68281b444f9a20d72a062f8c6fd0d31e4de8 (patch)
tree67741349b8710c32ef6367662ed7eb062955826f /tools/perf/scripts/python/export-to-sqlite.py
parentd831de177217cd494bfb99f2c849a0d40c2a7890 (diff)
KVM: SVM: avoid emulation with stale next_rip
svm->next_rip is reset in svm_vcpu_run() only after calling svm_exit_handlers_fastpath(), which will cause SVM's skip_emulated_instruction() to write a stale RIP. We can move svm_exit_handlers_fastpath towards the end of svm_vcpu_run(). To align VMX with SVM, keep svm_complete_interrupts() close as well. Suggested-by: Sean Christopherson <[email protected]> Cc: Paul K. <[email protected]> Reviewed-by: Vitaly Kuznetsov <[email protected]> Signed-off-by: Wanpeng Li <[email protected]> [Also move vmcb_mark_all_clean before any possible write to the VMCB. - Paolo]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions