Lines Matching refs:hw_cr4
3297 unsigned long hw_cr4; in vmx_set_cr4() local
3299 hw_cr4 = (cr4_read_shadow() & X86_CR4_MCE) | (cr4 & ~X86_CR4_MCE); in vmx_set_cr4()
3301 hw_cr4 |= KVM_VM_CR4_ALWAYS_ON_UNRESTRICTED_GUEST; in vmx_set_cr4()
3303 hw_cr4 |= KVM_RMODE_VM_CR4_ALWAYS_ON; in vmx_set_cr4()
3305 hw_cr4 |= KVM_PMODE_VM_CR4_ALWAYS_ON; in vmx_set_cr4()
3310 hw_cr4 &= ~X86_CR4_UMIP; in vmx_set_cr4()
3323 hw_cr4 &= ~X86_CR4_PAE; in vmx_set_cr4()
3324 hw_cr4 |= X86_CR4_PSE; in vmx_set_cr4()
3326 hw_cr4 &= ~X86_CR4_PAE; in vmx_set_cr4()
3342 hw_cr4 &= ~(X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_PKE); in vmx_set_cr4()
3346 vmcs_writel(GUEST_CR4, hw_cr4); in vmx_set_cr4()