Messages in this thread | | | Subject | Re: [PATCH v2 10/20] kvm: x86/mmu: Add TDP MMU PF handler | From | Paolo Bonzini <> | Date | Fri, 16 Oct 2020 17:12:58 +0200 |
| |
On 14/10/20 20:26, Ben Gardon wrote: > + if (is_tdp_mmu_root(vcpu->kvm, vcpu->arch.mmu->root_hpa)) > + r = kvm_tdp_mmu_map(vcpu, gpa, error_code, map_writable, > + max_level, pfn, prefault, is_tdp); > + else > + r = __direct_map(vcpu, gpa, error_code, map_writable, max_level, > + pfn, prefault, is_tdp);
I like the rename, but I guess is_tdp is clearly enough superfluous.
Paolo
| |