Searched refs:EFER_LMA (Results 1 – 10 of 10) sorted by relevance
149 trampoline_header->efer = efer & ~EFER_LMA; in setup_real_mode()
792 if (efer & EFER_LMA) in emulator_recalc_and_set_mode()800 if (efer & EFER_LMA) in emulator_recalc_and_set_mode()809 if (efer & EFER_LMA) { in emulator_recalc_and_set_mode()1515 if (!(efer & EFER_LMA)) in get_descriptor_ptr()1689 if (efer & EFER_LMA) in __load_segment_descriptor()2391 if (efer & EFER_LMA) { in em_syscall()2399 if (efer & EFER_LMA) { in em_syscall()2441 if ((ctxt->mode != X86EMUL_MODE_PROT64) && (efer & EFER_LMA) && in em_sysenter()2457 if (efer & EFER_LMA) { in em_sysenter()2466 ctxt->_eip = (efer & EFER_LMA) ? msr_data : (u32)msr_data; in em_sysenter()[all …]
169 return !!(vcpu->arch.efer & EFER_LMA); in is_long_mode()
531 if (kvm_set_msr(vcpu, MSR_EFER, smstate->efer & ~EFER_LMA)) in rsm_load_state_64()
117 u64 __read_mostly efer_reserved_bits = ~((u64)(EFER_SCE | EFER_LME | EFER_LMA));1735 if (efer & (EFER_LME | EFER_LMA) && in __kvm_valid_efer()1772 efer &= ~EFER_LMA; in set_efer()1773 efer |= vcpu->arch.efer & EFER_LMA; in set_efer()11871 if (!(sregs->cr4 & X86_CR4_PAE) || !(sregs->efer & EFER_LMA)) in kvm_is_valid_sregs()11880 if (sregs->efer & EFER_LMA || sregs->cs.l) in kvm_is_valid_sregs()11991 !(sregs2->efer & EFER_LMA); in __set_sregs2()
2242 return vmx->vcpu.arch.efer | (EFER_LMA | EFER_LME); in nested_vmx_calc_efer()2244 return vmx->vcpu.arch.efer & ~(EFER_LMA | EFER_LME); in nested_vmx_calc_efer()2453 if (guest_efer & EFER_LMA) in prepare_vmcs02_early()2993 !!(vcpu->arch.efer & EFER_LMA))) in nested_vmx_check_address_space_size()3060 CC(ia32e != !!(vmcs12->host_ia32_efer & EFER_LMA)) || in nested_vmx_check_host_state()3160 CC(ia32e != !!(vmcs12->guest_ia32_efer & EFER_LMA)) || in nested_vmx_check_guest_state()4648 vcpu->arch.efer |= (EFER_LMA | EFER_LME); in load_vmcs12_host_state()4650 vcpu->arch.efer &= ~(EFER_LMA | EFER_LME); in load_vmcs12_host_state()
32 #define EFER_LMA (1<<_EFER_LMA) macro
308 if (!(efer & EFER_LMA)) in svm_set_efer()1864 vcpu->arch.efer |= EFER_LMA; in svm_set_cr0()1866 svm->vmcb->save.efer |= EFER_LMA | EFER_LME; in svm_set_cr0()1870 vcpu->arch.efer &= ~EFER_LMA; in svm_set_cr0()1872 svm->vmcb->save.efer &= ~(EFER_LMA | EFER_LME); in svm_set_cr0()
509 sregs.efer |= (EFER_LME | EFER_LMA | EFER_NX); in vcpu_init_sregs()