Searched refs:EFER_LME (Results 1 – 9 of 9) sorted by relevance
44 #define KVM_MMU_EFER_ROLE_BITS (EFER_LME | EFER_NX)
115 u64 __read_mostly efer_reserved_bits = ~((u64)(EFER_SCE | EFER_LME | EFER_LMA));1171 if ((vcpu->arch.efer & EFER_LME) && !is_paging(vcpu) && in kvm_set_cr0()1182 if (!(vcpu->arch.efer & EFER_LME) && (cr0 & X86_CR0_PG) && in kvm_set_cr0()1731 if (efer & (EFER_LME | EFER_LMA) && in __kvm_valid_efer()1764 (vcpu->arch.efer & EFER_LME) != (efer & EFER_LME)) in set_efer()12297 if ((sregs->efer & EFER_LME) && (sregs->cr0 & X86_CR0_PG)) { in kvm_is_valid_sregs()
32 #define EFER_LME (1<<_EFER_LME) macro
2284 return vmx->vcpu.arch.efer | (EFER_LMA | EFER_LME); in nested_vmx_calc_efer()2286 return vmx->vcpu.arch.efer & ~(EFER_LMA | EFER_LME); in nested_vmx_calc_efer()3209 CC(ia32e != !!(vmcs12->host_ia32_efer & EFER_LME))) in nested_vmx_check_host_state()3335 ia32e != !!(vmcs12->guest_ia32_efer & EFER_LME)))) in nested_vmx_check_guest_state()4783 vcpu->arch.efer |= (EFER_LMA | EFER_LME); in load_vmcs12_host_state()4785 vcpu->arch.efer &= ~(EFER_LMA | EFER_LME); in load_vmcs12_host_state()
1174 ignore_bits |= EFER_LMA | EFER_LME; in update_transition_efer()1188 guest_efer &= ~EFER_LME; in update_transition_efer()3475 if (vcpu->arch.efer & EFER_LME) { in vmx_set_cr0()6477 vcpu->arch.efer | (EFER_LMA | EFER_LME)); in dump_vmcs()6480 vcpu->arch.efer & ~(EFER_LMA | EFER_LME)); in dump_vmcs()
696 vcpu->arch.efer = EFER_SCE | EFER_LME | EFER_LMA | EFER_NX; in tdx_vcpu_create()
212 efer &= ~EFER_LME; in svm_set_efer()1676 if (vcpu->arch.efer & EFER_LME) { in svm_set_cr0()1680 svm->vmcb->save.efer |= EFER_LMA | EFER_LME; in svm_set_cr0()1686 svm->vmcb->save.efer &= ~(EFER_LMA | EFER_LME); in svm_set_cr0()
373 if ((save->efer & EFER_LME) && (save->cr0 & X86_CR0_PG)) { in __nested_vmcb_check_save()
543 sregs.efer |= (EFER_LME | EFER_LMA | EFER_NX); in vcpu_init_sregs()