]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: move kvm_inject_gp up from kvm_set_xcr to callers
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 14 Dec 2020 12:49:54 +0000 (07:49 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Feb 2021 10:27:37 +0000 (05:27 -0500)
commita6b1703b9f5d98377ecdc31aae1cf02f27deece1
treef40df0f620d38cc37fc487133c0bd5095a203155
parentdce0a4827a6e7e47741446f3cbcd5f3706b309e7
KVM: x86: move kvm_inject_gp up from kvm_set_xcr to callers

Push the injection of #GP up to the callers, so that they can just use
kvm_complete_insn_gp.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.c