KVM: x86: Kill off __ex() and __kvm_handle_fault_on_reboot()
Remove the __kvm_handle_fault_on_reboot() and __ex() macros now that all VMX and SVM instructions use asm goto to handle the fault (or in the case of VMREAD, completely custom logic). Drop kvm_spurious_fault()'s asmlinkage annotation as __kvm_handle_fault_on_reboot() was the only flow that invoked it from assembly code. Cc: Uros Bizjak <ubizjak@gmail.com> Cc: Like Xu <like.xu.linux@gmail.com> Signed-off-by:Sean Christopherson <seanjc@google.com> Message-Id: <20210809173955.1710866-2-seanjc@google.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- arch/x86/include/asm/kvm_host.h 1 addition, 24 deletionsarch/x86/include/asm/kvm_host.h
- arch/x86/kvm/svm/sev.c 0 additions, 2 deletionsarch/x86/kvm/svm/sev.c
- arch/x86/kvm/svm/svm.c 0 additions, 2 deletionsarch/x86/kvm/svm/svm.c
- arch/x86/kvm/vmx/vmx_ops.h 0 additions, 2 deletionsarch/x86/kvm/vmx/vmx_ops.h
- arch/x86/kvm/x86.c 8 additions, 1 deletionarch/x86/kvm/x86.c
Loading
Please register or sign in to comment