Home
last modified time | relevance | path

Searched refs:is_protmode (Results 1 – 4 of 4) sorted by relevance

/arch/x86/kvm/
Dx86.h139 static inline bool is_protmode(struct kvm_vcpu *vcpu) in is_protmode() function
Dhyperv.c2206 if (static_call(kvm_x86_get_cpl)(vcpu) != 0 || !is_protmode(vcpu)) { in kvm_hv_hypercall()
Dx86.c7699 ctxt->mode = (!is_protmode(vcpu)) ? X86EMUL_MODE_REAL : in init_emulate_ctxt()
9129 if (vcpu->arch.exception.error_code && !is_protmode(vcpu)) in kvm_inject_exception()
10730 !is_protmode(vcpu)) in __set_sregs_common()
/arch/x86/kvm/vmx/
Dvmx.c3622 if (!is_protmode(vcpu) || (vmx_get_rflags(vcpu) & X86_EFLAGS_VM)) { in __vmx_guest_state_valid()