Lines Matching refs:cr3
1132 * Load guest's/host's cr3 at nested entry/exit. @nested_ept is true if we are
1137 static int nested_vmx_load_cr3(struct kvm_vcpu *vcpu, unsigned long cr3,
1141 if (CC(!kvm_vcpu_is_legal_cr3(vcpu, cr3))) {
1151 CC(!load_pdptrs(vcpu, cr3))) {
1156 vcpu->arch.cr3 = cr3;
1163 kvm_mmu_new_pgd(vcpu, cr3);
3149 unsigned long cr3, cr4;
3172 cr3 = __get_current_cr3_fast();
3173 if (unlikely(cr3 != vmx->loaded_vmcs->host_state.cr3)) {
3174 vmcs_writel(HOST_CR3, cr3);
3175 vmx->loaded_vmcs->host_state.cr3 = cr3;
3267 if (CC(!load_pdptrs(vcpu, vcpu->arch.cr3)))
3495 * nested_vmx_restore_host_state() to corrupt vcpu->arch.cr3. Stuffing
3496 * vmcs01.GUEST_CR3 results in the unwind naturally setting arch.cr3 to
3501 * KVM modifies vcpu->arch.cr3 if and only if the early hardware checks
3506 vmcs_writel(GUEST_CR3, vcpu->arch.cr3);
4567 * Only PDPTE load can fail as the value of cr3 was checked on entry and
4715 vcpu->arch.cr3 = vmcs_readl(GUEST_CR3);