diff options
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r-- | arch/x86/kvm/x86.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index d00d88455fef..15f9540a2b1f 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -5108,8 +5108,7 @@ int x86_emulate_instruction(struct kvm_vcpu *vcpu, | |||
5108 | ctxt->have_exception = false; | 5108 | ctxt->have_exception = false; |
5109 | ctxt->perm_ok = false; | 5109 | ctxt->perm_ok = false; |
5110 | 5110 | ||
5111 | ctxt->only_vendor_specific_insn | 5111 | ctxt->ud = emulation_type & EMULTYPE_TRAP_UD; |
5112 | = emulation_type & EMULTYPE_TRAP_UD; | ||
5113 | 5112 | ||
5114 | r = x86_decode_insn(ctxt, insn, insn_len); | 5113 | r = x86_decode_insn(ctxt, insn, insn_len); |
5115 | 5114 | ||