Home
last modified time | relevance | path

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

/linux-4.1.27/arch/x86/kvm/
Dx86.h36 static inline bool is_protmode(struct kvm_vcpu *vcpu) in is_protmode() function
Dx86.c362 if (has_error && !is_protmode(vcpu)) in kvm_multiple_exception()
5106 ctxt->mode = (!is_protmode(vcpu)) ? X86EMUL_MODE_REAL : in init_emulate_ctxt()
5895 if (kvm_x86_ops->get_cpl(vcpu) != 0 || !is_protmode(vcpu)) { in kvm_hv_hypercall()
6892 !is_protmode(vcpu)) in kvm_arch_vcpu_ioctl_set_sregs()
Dvmx.c3999 if (!is_protmode(vcpu) || (vmx_get_rflags(vcpu) & X86_EFLAGS_VM)) { in guest_state_valid()