Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/kvm/vmx/
Dvmx.c1100 u64 guest_efer = vmx->vcpu.arch.efer; in update_transition_efer() local
1106 guest_efer |= EFER_NX; in update_transition_efer()
1115 if (guest_efer & EFER_LMA) in update_transition_efer()
1126 if (!(guest_efer & EFER_LMA)) in update_transition_efer()
1127 guest_efer &= ~EFER_LME; in update_transition_efer()
1128 if (guest_efer != kvm_host.efer) in update_transition_efer()
1130 guest_efer, kvm_host.efer, false); in update_transition_efer()
1142 guest_efer &= ~ignore_bits; in update_transition_efer()
1143 guest_efer |= kvm_host.efer & ignore_bits; in update_transition_efer()
1145 vmx->guest_uret_msrs[i].data = guest_efer; in update_transition_efer()
Dnested.c2344 u64 guest_efer = nested_vmx_calc_efer(vmx, vmcs12); in prepare_vmcs02_early() local
2467 if (guest_efer & EFER_LMA) in prepare_vmcs02_early()
2469 if (guest_efer != kvm_host.efer) in prepare_vmcs02_early()
2482 if (cpu_has_load_ia32_efer() && guest_efer != kvm_host.efer) in prepare_vmcs02_early()