]> 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)
commit45465d58e40b654dcabf1d6540700d022934449f
treef40df0f620d38cc37fc487133c0bd5095a203155
parenta30ff70044565f4585f269413f94e47f27dabb33
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