Home
last modified time | relevance | path

Searched refs:is_protmode (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kvm/
H A Dx86.h80 static inline bool is_protmode(struct kvm_vcpu *vcpu) in is_protmode() function
H A Dhyperv.c1762 if (kvm_x86_ops.get_cpl(vcpu) != 0 || !is_protmode(vcpu)) { in kvm_hv_hypercall()
H A Dx86.c7208 ctxt->mode = (!is_protmode(vcpu)) ? X86EMUL_MODE_REAL : in init_emulate_ctxt()
8509 if (vcpu->arch.exception.error_code && !is_protmode(vcpu)) in kvm_inject_exception()
9990 !is_protmode(vcpu)) in __set_sregs()
/kernel/linux/linux-6.6/arch/x86/kvm/
H A Dx86.h138 static inline bool is_protmode(struct kvm_vcpu *vcpu) in is_protmode() function
H A Dhyperv.c2479 if (static_call(kvm_x86_get_cpl)(vcpu) != 0 || !is_protmode(vcpu)) { in kvm_hv_hypercall()
H A Dx86.c8435 ctxt->mode = (!is_protmode(vcpu)) ? X86EMUL_MODE_REAL : in init_emulate_ctxt()
10020 vcpu->arch.exception.has_error_code &= is_protmode(vcpu); in kvm_inject_exception()
11570 !is_protmode(vcpu)) in __set_sregs_common()
/kernel/linux/linux-6.6/arch/x86/kvm/vmx/
H A Dnested.c3881 if (ex->has_error_code && is_protmode(vcpu)) { in nested_vmx_inject_exception_vmexit()
H A Dvmx.c3803 if (!is_protmode(vcpu) || (vmx_get_rflags(vcpu) & X86_EFLAGS_VM)) { in __vmx_guest_state_valid()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
H A Dvmx.c3587 if (!is_protmode(vcpu) || (vmx_get_rflags(vcpu) & X86_EFLAGS_VM)) { in __vmx_guest_state_valid()

Completed in 60 milliseconds