Searched refs:is_long_mode (Results 1 – 8 of 8) sorted by relevance
143 static inline bool is_long_mode(struct kvm_vcpu *vcpu) in is_long_mode() function158 if (!is_long_mode(vcpu)) in is_64_bit_mode()205 return !is_long_mode(vcpu) && is_pae(vcpu) && is_paging(vcpu); in is_pae_paging()
1046 bool lm = is_long_mode(vcpu); in kvm_xen_write_hypercall_page()
1199 if (is_long_mode(vcpu)) { in kvm_set_cr4()1211 if ((kvm_read_cr3(vcpu) & X86_CR3_PCID_MASK) || !is_long_mode(vcpu)) in kvm_set_cr4()8449 (cs_l && is_long_mode(vcpu)) ? X86EMUL_MODE_PROT64 : in init_emulate_ctxt()
358 if (KVM_BUG_ON(is_long_mode(vcpu) && !is_pae(vcpu), vcpu->kvm)) in FNAME()
5394 else if (is_long_mode(vcpu)) in init_kvm_nested_mmu()
2494 if (!is_long_mode(vcpu)) in invlpga_interception()
5005 if (is_long_mode(vcpu)) { in get_vmx_mem_address()
1878 load_syscall_msrs = is_long_mode(&vmx->vcpu) && in vmx_setup_uret_msrs()