Home
last modified time | relevance | path

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

/linux-6.15/arch/x86/kvm/mmu/
H A Dmmu_internal.h348 int *emulation_type, u8 *level) in kvm_mmu_do_page_fault() argument
402 if (fault.write_fault_to_shadow_pgtable && emulation_type) in kvm_mmu_do_page_fault()
403 *emulation_type |= EMULTYPE_WRITE_PF_TO_SP; in kvm_mmu_do_page_fault()
H A Dmmu.c6140 u64 error_code, int *emulation_type) in kvm_mmu_write_protect_fault() argument
6227 *emulation_type |= EMULTYPE_ALLOW_RETRY_PF; in kvm_mmu_write_protect_fault()
6235 int r, emulation_type = EMULTYPE_PF; in kvm_mmu_page_fault() local
6269 &emulation_type, NULL); in kvm_mmu_page_fault()
6279 &emulation_type); in kvm_mmu_page_fault()
6300 return x86_emulate_instruction(vcpu, cr2_or_gpa, emulation_type, insn, in kvm_mmu_page_fault()
/linux-6.15/arch/x86/kvm/
H A Dx86.h391 int x86_decode_emulated_instruction(struct kvm_vcpu *vcpu, int emulation_type,
394 int emulation_type, void *insn, int insn_len);
H A Dx86.c8859 if (emulation_type & EMULTYPE_VMWARE_GP) { in handle_emulation_failure()
8865 (emulation_type & EMULTYPE_SKIP)) { in handle_emulation_failure()
8882 int emulation_type) in kvm_unprotect_and_retry_on_failure() argument
8992 int emulation_type, int *r) in kvm_vcpu_check_code_breakpoint() argument
9117 emulation_type &= ~EMULTYPE_ALLOW_RETRY_PF; in x86_emulate_instruction()
9125 emulation_type)) in x86_emulate_instruction()
9159 emulation_type)) in x86_emulate_instruction()
9163 !(emulation_type & EMULTYPE_SKIP)) { in x86_emulate_instruction()
9189 if (emulation_type & EMULTYPE_SKIP) { in x86_emulate_instruction()
9225 if (emulation_type & EMULTYPE_PF) { in x86_emulate_instruction()
[all …]
H A Dkvm_emulate.h517 int x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len, int emulation_type);
H A Demulate.c4733 int x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len, int emulation_type) in x86_decode_insn() argument
4946 if (unlikely(emulation_type & EMULTYPE_TRAP_UD) && in x86_decode_insn()
/linux-6.15/arch/x86/include/asm/
H A Dkvm_host.h2115 int kvm_emulate_instruction(struct kvm_vcpu *vcpu, int emulation_type);