Searched refs:is_protmode (Results 1 – 4 of 4) sorted by relevance
36 static inline bool is_protmode(struct kvm_vcpu *vcpu) in is_protmode() function
4397 ctxt->mode = (!is_protmode(vcpu)) ? X86EMUL_MODE_REAL : in init_emulate_ctxt()4935 if (kvm_x86_ops->get_cpl(vcpu) != 0 || !is_protmode(vcpu)) { in kvm_hv_hypercall()5723 !is_protmode(vcpu)) in kvm_arch_vcpu_ioctl_set_sregs()
3116 if (!is_protmode(vcpu)) in __vmx_get_cpl()3386 if (!is_protmode(vcpu)) { in guest_state_valid()
1345 if (!is_protmode(vcpu)) in svm_update_cpl()