[PATCH 0/3] use kvm_complete_insn_gp more
From: Paolo Bonzini
Date: Tue Feb 02 2021 - 11:58:38 EST
kvm_complete_insn_gp is a nice little function that dates back to more
than 10 years ago but was almost never used.
This simple series continues what was done for RDMSR/WRMSR in preparation
for SEV-ES support, using it in XSETBV, INVPCID and MOV to DR intercepts.
Paolo
Paolo Bonzini (3):
KVM: x86: move kvm_inject_gp up from kvm_set_xcr to callers
KVM: x86: move kvm_inject_gp up from kvm_handle_invpcid to callers
KVM: x86: move kvm_inject_gp up from kvm_set_dr to callers
arch/x86/kvm/svm/svm.c | 32 +++++++++++++++-----------------
arch/x86/kvm/vmx/vmx.c | 35 ++++++++++++++++++-----------------
arch/x86/kvm/x86.c | 38 ++++++++++++--------------------------
3 files changed, 45 insertions(+), 60 deletions(-)
--
2.26.2