Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kvm/vmx/
Dvmx.c3135 unsigned long hw_cr0, old_cr0_pg; in vmx_set_cr0() local
3140 hw_cr0 = (cr0 & ~KVM_VM_CR0_ALWAYS_OFF); in vmx_set_cr0()
3142 hw_cr0 |= KVM_VM_CR0_ALWAYS_ON_UNRESTRICTED_GUEST; in vmx_set_cr0()
3144 hw_cr0 |= KVM_VM_CR0_ALWAYS_ON; in vmx_set_cr0()
3146 hw_cr0 |= X86_CR0_WP; in vmx_set_cr0()
3156 vmcs_writel(GUEST_CR0, hw_cr0); in vmx_set_cr0()