Home
last modified time | relevance | path

Searched refs:emulation_type (Results 1 – 7 of 7) 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.c6306 u64 error_code, int *emulation_type) in kvm_mmu_write_protect_fault() argument
6393 *emulation_type |= EMULTYPE_ALLOW_RETRY_PF; in kvm_mmu_write_protect_fault()
6401 int r, emulation_type = EMULTYPE_PF; in kvm_mmu_page_fault() local
6435 &emulation_type, NULL); in kvm_mmu_page_fault()
6445 &emulation_type); in kvm_mmu_page_fault()
6466 return x86_emulate_instruction(vcpu, cr2_or_gpa, emulation_type, insn, in kvm_mmu_page_fault()
/linux/arch/x86/kvm/
H A Dx86.c9144 static int handle_emulation_failure(struct kvm_vcpu *vcpu, int emulation_type) in handle_emulation_failure() argument
9151 if (emulation_type & EMULTYPE_VMWARE_GP) { in handle_emulation_failure()
9157 (emulation_type & EMULTYPE_SKIP)) { in handle_emulation_failure()
9174 int emulation_type) in kvm_unprotect_and_retry_on_failure() argument
9176 if (!(emulation_type & EMULTYPE_ALLOW_RETRY_PF)) in kvm_unprotect_and_retry_on_failure()
9189 if (emulation_type & EMULTYPE_WRITE_PF_TO_SP) in kvm_unprotect_and_retry_on_failure()
9284 int emulation_type, int *r) in kvm_vcpu_check_code_breakpoint() argument
9286 WARN_ON_ONCE(emulation_type & EMULTYPE_NO_DECODE); in kvm_vcpu_check_code_breakpoint()
9302 if (emulation_type & (EMULTYPE_NO_DECODE | EMULTYPE_SKIP | in kvm_vcpu_check_code_breakpoint()
9373 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()
/linux/arch/x86/include/asm/
H A Dkvm_host.h2189 int kvm_emulate_instruction(struct kvm_vcpu *vcpu, int emulation_type);