Searched refs:emulation_type (Results 1 – 3 of 3) sorted by relevance
| /linux/arch/x86/kvm/ |
| H A D | x86.c | 6088 static int handle_emulation_failure(struct kvm_vcpu *vcpu, int emulation_type) in handle_emulation_failure() argument 6095 if (emulation_type & EMULTYPE_VMWARE_GP) { in handle_emulation_failure() 6101 (emulation_type & EMULTYPE_SKIP)) { in handle_emulation_failure() 6118 int emulation_type) in kvm_unprotect_and_retry_on_failure() argument 6120 if (!(emulation_type & EMULTYPE_ALLOW_RETRY_PF)) in kvm_unprotect_and_retry_on_failure() 6133 if (emulation_type & EMULTYPE_WRITE_PF_TO_SP) in kvm_unprotect_and_retry_on_failure() 6216 int emulation_type, int *r) in kvm_vcpu_check_code_breakpoint() argument 6220 WARN_ON_ONCE(emulation_type & EMULTYPE_NO_DECODE); in kvm_vcpu_check_code_breakpoint() 6236 if (emulation_type & (EMULTYPE_NO_DECODE | EMULTYPE_SKIP | in kvm_vcpu_check_code_breakpoint() 6287 int emulation_type) in is_soft_int_instruction() argument [all …]
|
| H A D | x86.h | 371 int x86_decode_emulated_instruction(struct kvm_vcpu *vcpu, int emulation_type, 374 int emulation_type, void *insn, int insn_len); 457 int kvm_emulate_instruction(struct kvm_vcpu *vcpu, int emulation_type);
|
| /linux/arch/x86/kvm/mmu/ |
| H A D | mmu.c | 4991 u64 err, bool prefetch, int *emulation_type, in kvm_mmu_do_page_fault() argument 5046 if (fault.write_fault_to_shadow_pgtable && emulation_type) in kvm_mmu_do_page_fault() 5047 *emulation_type |= EMULTYPE_WRITE_PF_TO_SP; in kvm_mmu_do_page_fault() 6485 u64 error_code, int *emulation_type) in kvm_mmu_write_protect_fault() argument 6572 *emulation_type |= EMULTYPE_ALLOW_RETRY_PF; in kvm_mmu_write_protect_fault() 6580 int r, emulation_type = EMULTYPE_PF; in kvm_mmu_page_fault() local 6614 &emulation_type, NULL); in kvm_mmu_page_fault() 6624 &emulation_type); in kvm_mmu_page_fault() 6645 return x86_emulate_instruction(vcpu, cr2_or_gpa, emulation_type, insn, in kvm_mmu_page_fault()
|