Home
last modified time | relevance | path

Searched refs:emulation_type (Results 1 – 5 of 5) 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.c6327 u64 error_code, int *emulation_type) in kvm_mmu_write_protect_fault() argument
6414 *emulation_type |= EMULTYPE_ALLOW_RETRY_PF; in kvm_mmu_write_protect_fault()
6422 int r, emulation_type = EMULTYPE_PF; in kvm_mmu_page_fault() local
6456 &emulation_type, NULL); in kvm_mmu_page_fault()
6466 &emulation_type); in kvm_mmu_page_fault()
6487 return x86_emulate_instruction(vcpu, cr2_or_gpa, emulation_type, insn, in kvm_mmu_page_fault()
/linux/arch/x86/kvm/
H A Dx86.c9176 static int handle_emulation_failure(struct kvm_vcpu *vcpu, int emulation_type) in handle_emulation_failure() argument
9183 if (emulation_type & EMULTYPE_VMWARE_GP) { in handle_emulation_failure()
9189 (emulation_type & EMULTYPE_SKIP)) { in handle_emulation_failure()
9206 int emulation_type) in kvm_unprotect_and_retry_on_failure() argument
9208 if (!(emulation_type & EMULTYPE_ALLOW_RETRY_PF)) in kvm_unprotect_and_retry_on_failure()
9221 if (emulation_type & EMULTYPE_WRITE_PF_TO_SP) in kvm_unprotect_and_retry_on_failure()
9316 int emulation_type, int *r) in kvm_vcpu_check_code_breakpoint() argument
9318 WARN_ON_ONCE(emulation_type & EMULTYPE_NO_DECODE); in kvm_vcpu_check_code_breakpoint()
9334 if (emulation_type & (EMULTYPE_NO_DECODE | EMULTYPE_SKIP | in kvm_vcpu_check_code_breakpoint()
9405 int emulation_type) in is_soft_int_instruction() argument
[all …]
H A Demulate.c4854 int x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len, int emulation_type) in x86_decode_insn() argument
5126 if (unlikely(emulation_type & EMULTYPE_TRAP_UD) && in x86_decode_insn()
/linux/arch/x86/include/asm/
H A Dkvm_host.h2217 int kvm_emulate_instruction(struct kvm_vcpu *vcpu, int emulation_type);