Home
last modified time | relevance | path

Searched refs:emulation_type (Results 1 – 6 of 6) sorted by relevance

/linux/arch/x86/kvm/mmu/
H A Dmmu_internal.h342 int *emulation_type, u8 *level) in kvm_mmu_do_page_fault() argument
396 if (fault.write_fault_to_shadow_pgtable && emulation_type) in kvm_mmu_do_page_fault()
397 *emulation_type |= EMULTYPE_WRITE_PF_TO_SP; in kvm_mmu_do_page_fault()
H A Dmmu.c6303 u64 error_code, int *emulation_type) in kvm_mmu_write_protect_fault() argument
6390 *emulation_type |= EMULTYPE_ALLOW_RETRY_PF; in kvm_mmu_write_protect_fault()
6398 int r, emulation_type = EMULTYPE_PF; in kvm_mmu_page_fault() local
6432 &emulation_type, NULL); in kvm_mmu_page_fault()
6442 &emulation_type); in kvm_mmu_page_fault()
6463 return x86_emulate_instruction(vcpu, cr2_or_gpa, emulation_type, insn, in kvm_mmu_page_fault()
/linux/arch/x86/kvm/
H A Dx86.c9145 static int handle_emulation_failure(struct kvm_vcpu *vcpu, int emulation_type) in handle_emulation_failure() argument
9152 if (emulation_type & EMULTYPE_VMWARE_GP) { in handle_emulation_failure()
9158 (emulation_type & EMULTYPE_SKIP)) { in handle_emulation_failure()
9175 int emulation_type) in kvm_unprotect_and_retry_on_failure() argument
9177 if (!(emulation_type & EMULTYPE_ALLOW_RETRY_PF)) in kvm_unprotect_and_retry_on_failure()
9190 if (emulation_type & EMULTYPE_WRITE_PF_TO_SP) in kvm_unprotect_and_retry_on_failure()
9285 int emulation_type, int *r) in kvm_vcpu_check_code_breakpoint() argument
9287 WARN_ON_ONCE(emulation_type & EMULTYPE_NO_DECODE); in kvm_vcpu_check_code_breakpoint()
9303 if (emulation_type & (EMULTYPE_NO_DECODE | EMULTYPE_SKIP | in kvm_vcpu_check_code_breakpoint()
9374 int emulation_type) in is_soft_int_instruction() argument
[all …]
H A Dx86.h471 int x86_decode_emulated_instruction(struct kvm_vcpu *vcpu, int emulation_type,
474 int emulation_type, void *insn, int insn_len);
H A Dkvm_emulate.h528 int x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len, int emulation_type);
H A Demulate.c4842 int x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len, int emulation_type) in x86_decode_insn() argument
5114 if (unlikely(emulation_type & EMULTYPE_TRAP_UD) && in x86_decode_insn()