diff options
-rw-r--r-- | arch/x86/kvm/x86.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 78147f0421a0..b05321adfd2f 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -3857,8 +3857,6 @@ static void inject_emulated_exception(struct kvm_vcpu *vcpu) | |||
3857 | 3857 | ||
3858 | static int handle_emulation_failure(struct kvm_vcpu *vcpu) | 3858 | static int handle_emulation_failure(struct kvm_vcpu *vcpu) |
3859 | { | 3859 | { |
3860 | struct x86_emulate_ctxt *ctxt = &vcpu->arch.emulate_ctxt; | ||
3861 | |||
3862 | ++vcpu->stat.insn_emulation_fail; | 3860 | ++vcpu->stat.insn_emulation_fail; |
3863 | trace_kvm_emulate_insn_failed(vcpu); | 3861 | trace_kvm_emulate_insn_failed(vcpu); |
3864 | vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; | 3862 | vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; |