Home
last modified time | relevance | path

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

/Linux-v6.6/arch/x86/kvm/vmx/
Dvmx.c3431 unsigned long hw_cr4; in vmx_set_cr4() local
3438 hw_cr4 = (cr4_read_shadow() & X86_CR4_MCE) | (cr4 & ~X86_CR4_MCE); in vmx_set_cr4()
3440 hw_cr4 |= KVM_VM_CR4_ALWAYS_ON_UNRESTRICTED_GUEST; in vmx_set_cr4()
3442 hw_cr4 |= KVM_RMODE_VM_CR4_ALWAYS_ON; in vmx_set_cr4()
3444 hw_cr4 |= KVM_PMODE_VM_CR4_ALWAYS_ON; in vmx_set_cr4()
3449 hw_cr4 &= ~X86_CR4_UMIP; in vmx_set_cr4()
3462 hw_cr4 &= ~X86_CR4_PAE; in vmx_set_cr4()
3463 hw_cr4 |= X86_CR4_PSE; in vmx_set_cr4()
3465 hw_cr4 &= ~X86_CR4_PAE; in vmx_set_cr4()
3481 hw_cr4 &= ~(X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE); in vmx_set_cr4()
[all …]