Searched refs:is_protmode (Results 1 – 4 of 4) sorted by relevance
80 static inline bool is_protmode(struct kvm_vcpu *vcpu) in is_protmode() function
1754 if (kvm_x86_ops.get_cpl(vcpu) != 0 || !is_protmode(vcpu)) { in kvm_hv_hypercall()
7049 ctxt->mode = (!is_protmode(vcpu)) ? X86EMUL_MODE_REAL : in init_emulate_ctxt()8328 if (vcpu->arch.exception.error_code && !is_protmode(vcpu)) in kvm_inject_exception()9796 !is_protmode(vcpu)) in __set_sregs()
3566 if (!is_protmode(vcpu) || (vmx_get_rflags(vcpu) & X86_EFLAGS_VM)) { in __vmx_guest_state_valid()