Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/kvm/
Dx86.h79 static inline bool is_protmode(struct kvm_vcpu *vcpu) in is_protmode() function
Dhyperv.c1606 if (kvm_x86_ops->get_cpl(vcpu) != 0 || !is_protmode(vcpu)) { in kvm_hv_hypercall()
Dx86.c467 if (has_error && !is_protmode(vcpu)) in kvm_multiple_exception()
6295 ctxt->mode = (!is_protmode(vcpu)) ? X86EMUL_MODE_REAL : in init_emulate_ctxt()
8849 !is_protmode(vcpu)) in __set_sregs()
/Linux-v5.4/arch/x86/kvm/vmx/
Dvmx.c3405 if (!is_protmode(vcpu) || (vmx_get_rflags(vcpu) & X86_EFLAGS_VM)) { in guest_state_valid()