[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d74ab511-586b-4704-dbb1-811343a05092@redhat.com>
Date: Fri, 16 Oct 2020 17:12:58 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Ben Gardon <bgardon@...gle.com>, linux-kernel@...r.kernel.org,
kvm@...r.kernel.org
Cc: Cannon Matthews <cannonmatthews@...gle.com>,
Peter Xu <peterx@...hat.com>,
Sean Christopherson <sean.j.christopherson@...el.com>,
Peter Shier <pshier@...gle.com>,
Peter Feiner <pfeiner@...gle.com>,
Junaid Shahid <junaids@...gle.com>,
Jim Mattson <jmattson@...gle.com>,
Yulei Zhang <yulei.kernel@...il.com>,
Wanpeng Li <kernellwp@...il.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Xiao Guangrong <xiaoguangrong.eric@...il.com>
Subject: Re: [PATCH v2 10/20] kvm: x86/mmu: Add TDP MMU PF handler
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
Powered by blists - more mailing lists