Home
last modified time | relevance | path

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

/linux-4.4.14/arch/x86/kvm/
Dvmx.c3679 static void ept_update_paging_mode_cr0(unsigned long *hw_cr0, in ept_update_paging_mode_cr0() argument
3704 *hw_cr0 &= ~X86_CR0_WP; in ept_update_paging_mode_cr0()
3710 unsigned long hw_cr0; in vmx_set_cr0() local
3712 hw_cr0 = (cr0 & ~KVM_GUEST_CR0_MASK); in vmx_set_cr0()
3714 hw_cr0 |= KVM_VM_CR0_ALWAYS_ON_UNRESTRICTED_GUEST; in vmx_set_cr0()
3716 hw_cr0 |= KVM_VM_CR0_ALWAYS_ON; in vmx_set_cr0()
3735 ept_update_paging_mode_cr0(&hw_cr0, cr0, vcpu); in vmx_set_cr0()
3738 hw_cr0 |= X86_CR0_TS | X86_CR0_MP; in vmx_set_cr0()
3741 vmcs_writel(GUEST_CR0, hw_cr0); in vmx_set_cr0()