Searched refs:is_protmode (Results 1 – 5 of 5) sorted by relevance
138 static inline bool is_protmode(struct kvm_vcpu *vcpu) in is_protmode() function
2482 if (static_call(kvm_x86_get_cpl)(vcpu) != 0 || !is_protmode(vcpu)) { in kvm_hv_hypercall()
8447 ctxt->mode = (!is_protmode(vcpu)) ? X86EMUL_MODE_REAL : in init_emulate_ctxt()10032 vcpu->arch.exception.has_error_code &= is_protmode(vcpu); in kvm_inject_exception()11581 !is_protmode(vcpu)) in __set_sregs_common()
3896 if (ex->has_error_code && is_protmode(vcpu)) { in nested_vmx_inject_exception_vmexit()
3807 if (!is_protmode(vcpu) || (vmx_get_rflags(vcpu) & X86_EFLAGS_VM)) { in __vmx_guest_state_valid()