Searched refs:emulation_type (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/arch/x86/kvm/mmu/ |
D | mmu_internal.h | 281 u32 err, bool prefetch, int *emulation_type) in kvm_mmu_do_page_fault() argument 320 if (fault.write_fault_to_shadow_pgtable && emulation_type) in kvm_mmu_do_page_fault() 321 *emulation_type |= EMULTYPE_WRITE_PF_TO_SP; in kvm_mmu_do_page_fault()
|
D | mmu.c | 5699 int r, emulation_type = EMULTYPE_PF; in kvm_mmu_page_fault() local 5726 &emulation_type); in kvm_mmu_page_fault() 5761 emulation_type |= EMULTYPE_ALLOW_RETRY_PF; in kvm_mmu_page_fault() 5763 return x86_emulate_instruction(vcpu, cr2_or_gpa, emulation_type, insn, in kvm_mmu_page_fault()
|
/Linux-v6.6/arch/x86/kvm/ |
D | x86.h | 318 int x86_decode_emulated_instruction(struct kvm_vcpu *vcpu, int emulation_type, 321 int emulation_type, void *insn, int insn_len);
|
D | x86.c | 8537 static int handle_emulation_failure(struct kvm_vcpu *vcpu, int emulation_type) in handle_emulation_failure() argument 8544 if (emulation_type & EMULTYPE_VMWARE_GP) { in handle_emulation_failure() 8550 (emulation_type & EMULTYPE_SKIP)) { in handle_emulation_failure() 8566 int emulation_type) in reexecute_instruction() argument 8571 if (!(emulation_type & EMULTYPE_ALLOW_RETRY_PF)) in reexecute_instruction() 8575 WARN_ON_ONCE(!(emulation_type & EMULTYPE_PF))) in reexecute_instruction() 8636 return !(emulation_type & EMULTYPE_WRITE_PF_TO_SP); in reexecute_instruction() 8640 gpa_t cr2_or_gpa, int emulation_type) in retry_instruction() argument 8663 if (!(emulation_type & EMULTYPE_ALLOW_RETRY_PF)) in retry_instruction() 8667 WARN_ON_ONCE(!(emulation_type & EMULTYPE_PF))) in retry_instruction() [all …]
|
D | kvm_emulate.h | 494 int x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len, int emulation_type);
|
D | emulate.c | 4760 int x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len, int emulation_type) in x86_decode_insn() argument 4973 if (unlikely(emulation_type & EMULTYPE_TRAP_UD) && in x86_decode_insn()
|
/Linux-v6.6/arch/x86/include/asm/ |
D | kvm_host.h | 1948 int kvm_emulate_instruction(struct kvm_vcpu *vcpu, int emulation_type);
|