Searched refs:root_gfn (Results 1 – 1 of 1) sorted by relevance
/linux-4.4.14/arch/x86/kvm/ |
D | mmu.c | 3080 static int mmu_check_root(struct kvm_vcpu *vcpu, gfn_t root_gfn) in mmu_check_root() argument 3084 if (!kvm_is_visible_gfn(vcpu->kvm, root_gfn)) { in mmu_check_root() 3132 gfn_t root_gfn; in mmu_alloc_shadow_roots() local 3135 root_gfn = vcpu->arch.mmu.get_cr3(vcpu) >> PAGE_SHIFT; in mmu_alloc_shadow_roots() 3137 if (mmu_check_root(vcpu, root_gfn)) in mmu_alloc_shadow_roots() 3151 sp = kvm_mmu_get_page(vcpu, root_gfn, 0, PT64_ROOT_LEVEL, in mmu_alloc_shadow_roots() 3179 root_gfn = pdptr >> PAGE_SHIFT; in mmu_alloc_shadow_roots() 3180 if (mmu_check_root(vcpu, root_gfn)) in mmu_alloc_shadow_roots() 3185 sp = kvm_mmu_get_page(vcpu, root_gfn, i << 30, in mmu_alloc_shadow_roots()
|