Home
last modified time | relevance | path

Searched refs:guest_efer (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/arch/x86/kvm/vmx/
Dvmx.c930 u64 guest_efer = vmx->vcpu.arch.efer; in update_transition_efer() local
936 guest_efer |= EFER_NX; in update_transition_efer()
945 if (guest_efer & EFER_LMA) in update_transition_efer()
956 if (!(guest_efer & EFER_LMA)) in update_transition_efer()
957 guest_efer &= ~EFER_LME; in update_transition_efer()
958 if (guest_efer != host_efer) in update_transition_efer()
960 guest_efer, host_efer, false); in update_transition_efer()
972 guest_efer &= ~ignore_bits; in update_transition_efer()
973 guest_efer |= host_efer & ignore_bits; in update_transition_efer()
975 vmx->guest_uret_msrs[i].data = guest_efer; in update_transition_efer()
Dnested.c2214 u64 guest_efer = nested_vmx_calc_efer(vmx, vmcs12); in prepare_vmcs02_early() local
2332 if (guest_efer & EFER_LMA) in prepare_vmcs02_early()
2334 if (guest_efer != host_efer) in prepare_vmcs02_early()
2347 if (cpu_has_load_ia32_efer() && guest_efer != host_efer) in prepare_vmcs02_early()