Searched refs:is_paging (Results 1 – 6 of 6) sorted by relevance
183 static inline int is_paging(struct kvm_vcpu *vcpu) in is_paging() function190 return !is_long_mode(vcpu) && is_pae(vcpu) && is_paging(vcpu); in is_pae_paging()
951 if ((vcpu->arch.efer & EFER_LME) && !is_paging(vcpu) && in kvm_set_cr0()1175 } else if (is_paging(vcpu) && (cr4 & X86_CR4_PAE) in kvm_set_cr4()1729 if (is_paging(vcpu) && in set_efer()7413 if (vcpu_match_mmio_gva(vcpu, gva) && (!is_paging(vcpu) || in vcpu_mmio_gva_to_gpa()13148 return is_paging(vcpu); in kvm_can_deliver_async_pf()
1770 bool old_paging = is_paging(vcpu); in svm_set_cr0()1774 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in svm_set_cr0()1779 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) { in svm_set_cr0()1789 if (old_paging != is_paging(vcpu)) in svm_set_cr0()1838 if (!is_paging(vcpu)) in svm_set_cr4()
1282 if (!(vcpu->arch.efer & EFER_SVME) || !is_paging(vcpu)) { in nested_svm_check_permissions()
3256 if (!enable_unrestricted_guest && !is_paging(vcpu)) in vmx_load_mmu_pgd()3322 if (!is_paging(vcpu)) { in vmx_set_cr4()3341 if (!is_paging(vcpu)) in vmx_set_cr4()
5228 if (!is_paging(vcpu)) in init_kvm_nested_mmu()