aboutsummaryrefslogtreecommitdiff
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2020-12-14 07:44:46 -0500
committerPaolo Bonzini <[email protected]>2020-12-15 05:20:09 -0500
commit8b474427cbeea05850fb32da65cc95eebcbad089 (patch)
tree0d9976d4c5681aa1e5909b9614b68d35b7dcc6a2 /net/unix/garbage.c
parent9caec4bf1d0126fa5f2fcd21852958bccd2a4c18 (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 <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions