+int x86_emulate_decoded_instruction(struct kvm_vcpu *vcpu, int emulation_type, + void *insn, int insn_len) Isn't the name of this function wrong? This function decodes the instruction. So I would expect something like x86_decode_instruction.
+int x86_emulate_decoded_instruction(struct kvm_vcpu *vcpu, int emulation_type, + void *insn, int insn_len)