diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-12-14 07:44:46 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-12-15 05:20:09 -0500 |
commit | 8b474427cbeea05850fb32da65cc95eebcbad089 (patch) | |
tree | 0d9976d4c5681aa1e5909b9614b68d35b7dcc6a2 /tools/perf/scripts/python/flamegraph.py | |
parent | 9caec4bf1d0126fa5f2fcd21852958bccd2a4c18 (diff) |
KVM: x86: use kvm_complete_insn_gp in emulating RDMSR/WRMSR
Simplify the four functions that handle {kernel,user} {rd,wr}msr, there
is still some repetition between the two instances of rdmsr but the
whole business of calling kvm_inject_gp and kvm_skip_emulated_instruction
can be unified nicely.
Because complete_emulated_wrmsr now becomes essentially a call to
kvm_complete_insn_gp, remove complete_emulated_msr.
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions