Searched refs:emulation_type (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/arch/x86/kvm/mmu/ |
H A 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()
|
H A D | mmu.c | 5705 int r, emulation_type = EMULTYPE_PF; in kvm_mmu_page_fault() local 5732 &emulation_type); in kvm_mmu_page_fault() 5767 emulation_type |= EMULTYPE_ALLOW_RETRY_PF; in kvm_mmu_page_fault() 5769 return x86_emulate_instruction(vcpu, cr2_or_gpa, emulation_type, insn, in kvm_mmu_page_fault()
|
/openbmc/linux/arch/x86/kvm/ |
H A 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);
|
H A D | x86.c | 8555 static int handle_emulation_failure(struct kvm_vcpu *vcpu, int emulation_type) in handle_emulation_failure() argument 8562 if (emulation_type & EMULTYPE_VMWARE_GP) { in handle_emulation_failure() 8568 (emulation_type & EMULTYPE_SKIP)) { in handle_emulation_failure() 8584 int emulation_type) in reexecute_instruction() argument 8589 if (!(emulation_type & EMULTYPE_ALLOW_RETRY_PF)) in reexecute_instruction() 8593 WARN_ON_ONCE(!(emulation_type & EMULTYPE_PF))) in reexecute_instruction() 8654 return !(emulation_type & EMULTYPE_WRITE_PF_TO_SP); in reexecute_instruction() 8658 gpa_t cr2_or_gpa, int emulation_type) in retry_instruction() argument 8681 if (!(emulation_type & EMULTYPE_ALLOW_RETRY_PF)) in retry_instruction() 8685 WARN_ON_ONCE(!(emulation_type & EMULTYPE_PF))) in retry_instruction() [all …]
|
H A D | kvm_emulate.h | 494 int x86_decode_insn(struct x86_emulate_ctxt *ctxt, void *insn, int insn_len, int emulation_type);
|
H A 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()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | kvm_host.h | 1952 int kvm_emulate_instruction(struct kvm_vcpu *vcpu, int emulation_type);
|